https://regex101.com/
Results of PCRE, PCRE2 flavor are close to UiPath regex engine results, but not what I want.
.NET (C#) flavor is very close to my need although my regex string is not perfectly captured.
I’d like to know which regex engine is the one UiPath is using? (.NET? C#?)
And if I would like to get result of group “invoice_detail” like .NET (C#) flavor in regex101.com, what can I do to modify the regex string?
Thanks for any advise.
Below are two possible sample text for Invoice number list
I’d like to capture all multiple line Invoice No. as a list of named capture group result “invoice_detail”, but only the first line could be captured.
ITEM NAME
TOTAL:12345 SET
INV NO:
800sdf-0052423/804sa19,8009/
8000012349/fsdfa12/
8000034568/8000052123
test:test123
ITEM NAME
TOTAL:12345 SET
INV NO: 800sdf-0052423
test:test123
check if the newline character is coming different in UiPath when read…for that open locals panel and check the value by clicking on magnifier may be new line is coming as \r\n generally to handle both cases \r?\n can be used
Thank you for the help. Use \r?\n DO fix my problem.
btw, for anyone who might encounter similar problem.
I checked my original text in HEX editor. It have 0x0d 0x0a in it.
I stuck in my missing of checking detail for around two days.