Regex to capture value

image

Capture text (Example 1) : ProfessionalServices P000, Human resource development 801115, HR Services P100, Compensation/payroll P131

Capture text (Example 2) : Services F001

Requirement :

How to capture all the values in bold from captured text and store in Array variable?

The required value will be always 4 digits and it starts with letter and 3 numbers format


[CheatSheet] - System.Text.RegularExpressions | RegEx - News / Tutorials - UiPath Community Forum

Hi @Sathish_Kumar_S

Try this

[A-Z]\d{3}

Cheers!!

@Sathish_Kumar_S
is it solved? So it could be closed:
Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum

1 Like

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