Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression for sentences
#1
Not Solved
Hi,

I need a Regular Expression for question type of sentence. Here I am providing sample sentence as per my requirement.Please provide Regular expression for the following sentence. Bold ones will vary depending on condition.

"You will lose £100.10 of bonus money if you continue to withdraw. You have to meet the some requirements. The requirement is 1001. Are you sure you want to continue?"

Thanks,
Vijay
Reply
#2
Not Solved
"You will lose £[0-9]{3}\.[0-9]{2} of bonus money if you continue to withdraw. You have to meet the some requirements. The requirement is [0-9]{4}. Are you sure you want to continue\?"
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Not Solved
Can you give Regular Expression for whole sentence??. I have used the following
\w+\s+\w+\s+\w+\?$
but its not working. (I am using above sentence as 'Regular Expression' in Recovery Scenario Wizard for Window Text)

Vijay
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,496 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,361 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,831 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,579 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,123 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 1 Guest(s)