Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression
#1
Not Solved
Hi,
Can anyone help me to write the regular expression for
Rejection (2)

The number in the paranthesis changes very often.

I tried Rejection ([0-9])
and Rejection (\d).. Both dint work

Please let me know the suggestion.

Thanks in advance
Laksh
Reply
#2
Not Solved
Rejection (/d*)
Reply
#3
Not Solved
Sorry it is
Rejection (\d*)
Reply
#4
Not Solved
Hi Lakshjai,
All the above expressions will not work because "(" and ")" are special charecters in RegEXP.
Pls use below Regular Expression.

"Rejection \([0-9]\)"

It should work

Thanks
VENKATA
Reply
#5
Not Solved
Thanks Venkat,
I will try this and let you know
Reply
#6
Not Solved
Hi Ram,

Generic Functions are not related to Application Functionalities. Any function which doesn't contain any of the Operations on Application that is Generic Function.

For Example you can write a function to change the Date format to a different format. That function you can use any where since it doesn't depend on Application.
Similarly below are some Generic fuctions that we can have....
Navigate URL Function with URL as Input Parameter.
Function to Generate Random String with length as Input Parameter.
etc

Hope you are clear

Thanks
VENKATA
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,520 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,400 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,865 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,647 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,144 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 1 Guest(s)