Invoice CI01969 approved.
Above is string format. Need to extract Invoice number from that. In above case invoice number is CI01969.
Invoice CI01969 approved.
Above is string format. Need to extract Invoice number from that. In above case invoice number is CI01969.
Hi,
How about the following pattern?
(?<=Invoice\s)\w+
Regards,
Checkout this expression
System.Text.RegularExpressions.Regex.Match(InputString,"(?<=Invoice\s)\S+").Tostring
Regards
Sudharsan
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.