Remove text before a word

Hey

You can use Regex to achieve this! Try using this link to preview/play with the result.

In UiPath Studio - use an Assign activity like this.
Str_Variable = System.Text.RegularExpressions.Regex.Replace(YOURINPUTSTRING, “[\s\S]*(?=IMPORTANT)”, “”)

GIve it a go :slight_smile:

2 Likes