Micro Focus QTP (UFT) Forums

Full Version: Help me about regular expression
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can anyone help me to write the regular expression for
EB0052 : Contact First Name must be not number.
sometime it change
EB0274 : Contact First Name have not contain.

Thank You.
Code:
EB[0-9][0-9][0-9][0-9] : Contact First Name.*
Thank you.It's work.
But i found sentence change again
EB0044 : ID Card Number is Invalid<<<
I use EB[0-9][0-9][0-9][0-9] : (+\w) but not work
Hi,

Just check if you have used caps W otherwise it should work.

Try this reg ex.

\s is for spaces in the sentence.

Code:
EB[0-9][0-9][0-9][0-9] : (+\w)\s(+\w)\s(+\w)\s(+\w)\s(+\w)