Hey @nilesh.mahajan
You can use Regex with a Lookahead to Anchor onto some text. Like this Text Anchor example.
Just paste the values into the brackets and you can do some basic ones. Always check your results.
To use this in UiPath and get the 1st match only
Insert a new Assign activity and:
Assign Left:
INSERTxNEWxSTRINGxRESULTxVARIABLE
Assign Right:
system.Text.RegularExpressions.Regex.Match(INSERTxINPUTxSTRINGxVARIABLE, “INSERTxREGEXxPATTERN”).ToString
Regex Language Basics:
Quantifiers
Learn Regex with my MegaPost
Hopefully this helps
Cheers
Steve