Ensure the result contains expression.. How can I give expression in such a way that I need to search for a particular string in the message?
Ex:
Result is as below:
12345
AFGSF
312747346
If I want to search for AFGSF. How to provide regular expression?
I tried *.AFGSF.*
Its not working.
import java.util.regex.*;
Pattern.matches("your String", "[a-zA-Z]")
Hi,
Directly search for "AFGSF".
Vish
To search for exact word AFGSF, in Ensure the result contains expression the regular expression needs to AFGSF
There is a Regular Expression Helper under Help menu which can be used to validate what regular expression would match in a given string.
Thanks everyone. Its working