Regular Expression for Web Table name
I am sorry if this question comes across as trivial, but please bear as I am relatively new.
In the application that I am trying to automate, there is a WebTable (used to render a drop down) whose name can change every time. It is something like this.
Browser("ABC").Page("XYZ").Frame("Frm2").WebTable( "Select one Robert - Basic Advanced Supplement Power Unauthorized")
I need to check if this WebTable's name has the word "Power" or not. Apart from "Select One" and the hyphen sign, no other portion of the Web Table's name can be predicted before hand.
How can I do this? If we use regular expressions, what will be the syntax?