web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using Regex in Browser...
Power Automate
Unanswered

Using Regex in Browser UI element Selecteor

(0) ShareShare
ReportReport
Posted on by 4,204 Super User 2025 Season 2

I want to find element on web page that has my string variable in it. But I don't want it to be case sensitive. So I would want to use Regular expression. How do I do that?

I tried this as an example:

eetuRobo_0-1706089048274.png

eetuRobo_1-1706089078241.png

 

That (?i) is supposed to not care for case sensitivity. Is there something I am doing wrong?

Thank you in advance.

 

I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @eetuRobo 

     

    if you remove the (?i) from regex expression value, it would work 

     

    see below

     

    i need click Start button

    Nived_Nambiar_0-1706124780106.png

     

    selector is like below

    Nived_Nambiar_1-1706124863164.png

     

     

    Now if change the comparision mode for text to regular expression match like below

    Nived_Nambiar_2-1706124905117.png

     

    It will still able to detect the button 🙂

     

    When using variables, make sure to enable the Text editor button once regex is enabled as i shared above !

    Nived_Nambiar_0-1706126993981.png

     

    else with variables it won't work without enabling text editor

     

    Hope it helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at

    Thank you Nived_Nambiar!

    I thought you would have to specify what you want the regex to do but I guess you don't as long as you just want it to find the text in what ever case.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard