You are viewing a single comment's thread. Return to all comments →
^\d\d(-?)\d\d\1\d\d\1\d\d$
In the begining I was thinking it will match
11-22-3344
Until I realize it will use the match not the expression in the group.
Seems like cookies are disabled on this browser, please enable them to open this website
Backreferences To Failed Groups
You are viewing a single comment's thread. Return to all comments →
^\d\d(-?)\d\d\1\d\d\1\d\d$
In the begining I was thinking it will match
11-22-3344
Until I realize it will use the match not the expression in the group.