How to remove specific texts from Get Text

I’m using Get Text activity to get these texts from a website. However, I want to remove the specific texts like “Administrative Materials”, “Briefs, Pleadings and Motions”, etc. I want to remain the number only.


1 Like

in general you can loop with a for each use a regex pattern \d+

Hello @ppr

How do I put it in the uipath? I’m sorry im really new to this :frowning:


  • for each row activity for looping over the datatableble / for each for alternate looping
  • using an assign activity
    • leftside: yourText/row(“YourColNameOrIndex”), right side: Regex.Match(TextVar,"\d+").Value.toString

For working with Regex have a look here:

1 Like

Thank you so much!

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