Regex in Selectors

I need to match 2 values in a selector

ex.
<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 ?

1 Like

Hi,

Can you try the following?

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

Regards,

4 Likes

@Yoichi - thanks, that worked.

1 Like

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