Regex 101 Code

Hi team…
Necessary for my project…
How can I pull these characters with regex

Hi @Ertan_AY ,

Please check to this regex,

Regards,

Hi @Ertan_AY ,

Could you maybe try with the below Regex :

(?<=\,\d{2}\w)\w{3}

image

Hi @Ertan_AY

Welcome to UiPath community

How about this Regular expression?

System.Text.RegularExpressions.Regex.Match(YourString,"(?<=\d{2}\S)\S{3}(?=NONREF)").Tostring

image

Hi @Ertan_AY ,

use below expression to extract your expected text,

system.text.RegularExpressions.Regex.Match("221222DY1356,63NCCPONREFz","(?<=\,\d*[A-Z]{1})([A-Z]{3})").ToString

thanks
priya

Thx… :slight_smile:

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