Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Issue with regex match and expression

$
0
0

Hi All,

I am using get ocr text to retrieve number beside (customer po no .) in 4 th line and I am using a regular expression (?<=Customer P0 No. ).* which says it is a match in regex site (see picture ) but it is not giving any results in uipath and also I am using is match activity which returns false. Below is my expression

System.Text.RegularExpressions.Regex.Match(order,"(?<=Customer P0 No. ).*").value

Text:
Decon Utilities, a div. of Ph#: 1-416-293-7004 “NO?” NO- 90646839
90 Carlson Ct, Suite 800 Tax ID: Serv1ce Rendered From 06/20/2019
Brazil TR M9W 7K6 887201887RT0006 Service Rendered T0 05/21/2020
Customer P0 No. 21385229
Bill-To-Party Customer P0 Date 05/20/2020
ENBRIDGE GAS INC ProjeCt/CSO N°°
OPERATING AS ENBRIDGE GAS DISTRIBUTION Sales Order NO. 70226489

please help me out here

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles