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?
Result is as below:
If I want to search for AFGSF. How to provide regular expression?
I tried *.AFGSF.*
Its not working.
Pattern.matches("your String", "[a-zA-Z]")
Directly search for "AFGSF".
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