Forum Discussion

jmarkman's avatar
jmarkman
Occasional Contributor
6 years ago
Solved

Regex/Wildcards in FindChild method

One of the buttons in my company's program changes between "Show Items" and "Hide Items" when clicked - it's a toggle. I'd like to run some automation with this button, and I've been trying to use th...
  • tristaanogre's avatar
    6 years ago

    Yes, you can do the wildcard like you indicated... but, as for reg-ex... in the documentation.

     

    "

    Regular expressions should start with "regexp:", for example:

    obj = parent.Find("PropName", "regexp:gr[ae]y", 5)"