How to get the PO Number from below log
29-09-2020 02:28:54 AM PST Sales order number :2000556036 updated with PO number :101080142527 by User:DEMOUSER
Hi,
Can you try the following?
System.Text.RegularExpressions.Regex.Match(text,"(?<=PO number :)\d+").Value
Regards,
1 Like
@Yoichi Thank you… it works for me.
2 Likes
If it contains alphabet what will be the expression.
Ex : RWJSH0000083528 , ABCED-0221, etc…
Hi,
How about the following?
System.Text.RegularExpressions.Regex.Match(text,"(?<=PO number :)[-A-Z0-9]+").Value
Regards,
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.