Did you ever encounter a situation where you needed to search a sub-string inside a string? Of course InStr() is a great function which helps users solve this problem. But what happens when the sub-string you want to search contains a regular expression?
QTP 11 has provided a new feature to test the regular expressions that automation testers might use in their object repository. This utility, named ‘Regular Expression Evaluator’, helps the users validate their regular expressions before the actual script execution.
What is a Regular Expression? A regular expression (also known as regexp) is a text that consists of patterns of characters used to identify strings (the string should contain the pattern(s) defined in the regular expression as a sub-string).