gokul1904
(Glory 01)
August 1, 2022, 3:18pm
1
Hi Team ,
I have below examples -
Fw: PCI SSC Invoice Enclosed - ABC039382909
Fw: ABC0399456 - FW: GoDaddy/KPMG - Vertex & Taxability Assistance
Fw: Invoice - ABC0394758
I want to extract ABC039382909 , ABC0399456 , ABC0394758 from the above examples. Basically ABC and the integers following that until a space comes.
Please help me with the string manipulation for this.
Regards,
Gokul
hi , did you try regex.
(ABC\d+) → this could be the regex pattern to extract your information.
1 Like
jack.chan
(Jack Chan)
August 1, 2022, 4:09pm
3
this will extract the text for you
assign the following to a string variable, which will store the text you want to this variable
System.text.regularExpressions.regex.match(txt, "([A-Z]{3}[\d]+)").Groups(1).Value
1 Like
system
(system)
Closed
August 4, 2022, 7:23pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.