REGEX OUTPUT panel

Hi “9x48 Piece” I want to output panel 9 and 48 that is before from “Piece” it is important “before” x “after” Piece ,can u help me?

Hi,

Can you try the following expression?

img20211115-6

m= System.Text.RegularExpressions.Regex.Match(yourString,"(\d+)x(\d+) Piece")

Then
m.Groups(1).Value
m.Groups(2).Value

note: m is Match class

Sequence3.xaml (5.8 KB)

Regards,

1 Like

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