Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please read this: Regular Expressions
#1
Not Solved
Welcome to Software Testing Tools Forum, a place to get your questions answered by experts.
  1. Please go through Posting Guidelines before posting on this forum.
  2. Please go through Regular Expressions for QTP for good understanding of regular expressions.
  3. You can check your regular expressions at http://www.nvcc.edu/home/drodgers/ceu/re...regexp.asp
#2
Not Solved
Hi Ankur,Your suggeted link for Regx http://www.nvcc.edu/home/drodgers/ceu/re...regexp.asp
is not working properly.
Plz check once.
#3
Not Solved
What do you mean by "not working properly"?

If you meant "its not opening", I have checked on firefox as well as IE and I am able to open the given link.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
#4
Not Solved
Hi Ankur,
I enterd as
Regular Expression:[A-Za-z]*
&Test String:abc123
then When I click on the test button its showing as
Test Results: True
It should be False.Bcoz the string contain numaric values.


--------------------------------------------------------------------------------
#5
Not Solved
It is giving correct result.

Regular Expression:[A-Za-z]* means match capital A-Z or small a-z 0 or more times so even if you have 123 instead of abc it will pass.

Change it to [A-Za-z]+ (match capital A-Z or small a-z 1 or more times) and you will see that a123 would be "True" but 123 would yield "false"
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
#6
Not Solved
Hi Ankur,

How to use regular expression in replace function
I want to discard numbers in text
Below is the issue
Text1 = "hello1234"
replace(Text1,[0-9],"") 'This line throws syntax error
#7
Not Solved
@kamalteja: please post a new question on a separate thread.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course


Possibly Related Threads…
Thread Author Replies Views Last Post
At Regular Expressions for e-mail address ganesh.dengale 6 19,098 08-23-2022, 02:51 PM
Last Post: ahmad3029
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,339 04-09-2015, 01:56 AM
Last Post: sarahq49
  How to disable regular expressions in a text? ttralor 6 6,664 07-05-2013, 02:44 PM
Last Post: Staff
  Need help on using regular expressions on Java Window's title qa_tester 3 5,022 02-13-2012, 10:56 PM
Last Post: madsenfr
  java window titles & regular expressions jotdog2 1 4,192 02-13-2012, 10:55 PM
Last Post: madsenfr

Forum Jump:


Users browsing this thread: 1 Guest(s)