"Can we not use Regex attribute on "TAG

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’ /


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' />```