Detecting string values with regular expression

Hello KNIMERs,

How could I detect the following type of strings with regular expression inside a column?

Totally 20 characters:
-10 pcs zero leading characters,
-11th character is always “2”,
-last 9 characters are numbers 0-9.

Example:
00000000002026789054

Thank you in advance!

Roland

Hi @rolandnemeth

This should get you the desired result: [0]{10}[2]{1}[\\d]{9}

4 Likes

hello @ArjenEX,

it works perfectly, how I expected.

thank you,
Roland

2 Likes

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