Regex Error Ui

Hello,

How do I get the value of “supplier item no” with regex? (710KTP2893)

I found this but it doesn’t work in “ui”.(((?<=Supplier\sItem\sno\s)\w+))

Receiver
home24 SE
h24 Item Descr.

Purchase Order
4500104917
h24 Item No.
1000337173
Tafelservice Kanister (24-
teilig)

Dimensions LxHxD Gross Weight ODD

31x36x38 cm 13,4 kg 04.11.2022

Supplier Item no
710KTP2893

Package Description Package No.

Vendor ID
101236 SC

Hi @d.ulutas ,

Try using the below Regex Expression :

(?<=Supplier Item no\n).*

Let us know if you were able to get the desired output.

not working

@d.ulutas ,

Try updating to the below Expression :

(?<=Supplier Item no\r?\n).*
2 Likes

Adding another pattern here @d.ulutas

System.Text.RegularExpressions.Regex.Match(striae,”(?<=Supplier Item no)\s*\S+”).trim

Regards
Sudharsan

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.