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
|
182 Discussions
|
Please Login in order to post a comment
Regex_Pattern = r"^(\d{2})(-?)(\d{2})\2(\d{2})\2(\d{2})$" # Do not delete 'r'.
Regex_Pattern = r"\d{8}|^(\d{2}-){3}\d{2}$" # Do not delete 'r'.
To avoid complications when working with regular expressions, it's essential to ensure that backreferences are used only when their corresponding groups are successfully matched. www fairplay24.in
For javascript - var Regex_Pattern = /\d{8}|^(\d{2}-){3}\d{2}$/;