We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Backreferences To Failed Groups
Backreferences To Failed Groups
Sort by
recency
|
176 Discussions
|
Please Login in order to post a comment
Regex_Pattern = r"\d{8}|^(\d\d)(-\d\d){2}-(\d\d)$"
^\d{2}(-?)\d{2}(\1\d{2}){2}$
^(\d\d)(\-?)\1\2\1\2\1$
why this wont work in JAVA? Group1 = (\d\d) Group2 = (\-?)
Java 15:
This is what i used: ^\d{2}(\-?)\d{2}\1\d{2}\1\d{2}$