Remove all the alphabet and special characters expect TBD and digits
Input: *A-TBD1233567C
Output:TBD1233567
Input:TBD45677G
Output:TBD45677
Input:+TBD48879
Output:TBD44678
Input: BTS-5678
Output:5678
Remove all the alphabet and special characters expect TBD and digits
Input: *A-TBD1233567C
Output:TBD1233567
Input:TBD45677G
Output:TBD45677
Input:+TBD48879
Output:TBD44678
Input: BTS-5678
Output:5678
Hi,
You can apply below regex and extract the required string pattern
(TBD\d+|\d+)
Regards,
Sachin
Hi @Demo_User
Use the Regex Expressions to obtain the result. Please check the below regex expression.
System.Text.RegularExpressions.Regex.Matches(yourstringinput.ToString,“[A-Z]+\d+\w*”)
Hope it helps!!
(TBD)?\d+
[CheatSheet] - System.Text.RegularExpressions | RegEx - News / Tutorials - UiPath Community Forum
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.