regexMatcher Syntax not working

@BruceV

You need to escape the \ backslash character. So, replace \ with \\.

You may find it easier to replace the \d with [0-9] and {1,} with + so your expression becomes ^Node [0-9]+$.

DiaAzul

3 Likes