Regex in Selectors

I need to match 2 values in a selector

<webctrl aaname=‘ProjectName’ (OR)
<webctrl aaname=‘StageName’

I tried building a regex using the above article, but i am getting validation error with it.

<webctrl aaname=’[Project|Stage]Name’ matching:aaname=‘regex’

Studio version 2019.10

What am I missing or doing wrong ?


Can you try the following?

<webctrl aaname='(Project|Stage)Name' matching:aaname='regex'


@Yoichi - thanks, that worked.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.