Hi I’m new to rpa can any one help
I have pdf of invoice I need to extract the
Invoice order I’d
Order ID : OD47890910376
I need output as this OD47890910376
How can I do that one
Hi I’m new to rpa can any one help
I have pdf of invoice I need to extract the
Invoice order I’d
Order ID : OD47890910376
I need output as this OD47890910376
How can I do that one
Try like this
Stroutput = System.Text.RegularExpressions.Regex.Match(Strinput.ToString, “(?<=Order ID : )(.*)”).Value.ToString
Explanation
Cheers @shiva_ms
outputstr=system.text.regularexpression.regex.match(yourstring,“(?<=Order ID :).*”).value
cheers
Hi you can try this
use this expression
(?<=Order ID :[\s*])[0-9A-Z]+
try this assign activity
str = “Order ID : OD47890910376”
System.Text.RegularExpressions.Regex.Match(str,"(?<=Order ID :[\s*])[0-9A-Z]+").Value
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.