Hello Team,
I want to extract only number(33333333) from extracted text,please guide.
1 Like
Hi
If the above text is in a string variable named strinput
strinput = String.Join(“ “,strinput.ToString.Split(Environment.Newline.ToArray())).ToString
Then the output will be with this expression in a assign activity
stroutput = System.Text.RegularExpressions.Regex.Match(str_input.ToString,”(?<=\s).*(?=\sShutterstock)”).ToString
Cheers @Mayyur
2 Likes
Thanks
1 Like
Can i get regex for getting number from path
“C:\Users\fwin02141\Documents\UIC\DataProcessedByBot\33333333\insurance-medical-card(Mahesh Nagarkar).jpg”
\d{8}
\d{8}…if its 8 digits long always
(?<=\)\d* …if you are not sure about the occurence
@Mayyur
Ok,Thank you
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.