"Can we not use Regex attribute on "TAG

Hi,
I am aware that we can use regex attribute in uipath selector. but not able to apply it on Tag attribute. Just want to know whether we cannot apply it on Tag attribute.

webctrl tag=‘INPUT|SELECT’ matching:tag=‘regex’ id=‘accnumber’ /

Thanks,

I’m having a requirement which needs to search element regardless of html tag.
I used regex for tag attribute but it didn’t seem to work.
Any idea on how to use regex for tag. Thanks

<webctrl innertext='^.*(A|a)ccept.*$' matching:innertext='regex' tag='BUTTON|SPAN|A' matching:tag='regex' />```