Test regex patterns across different programming languages
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
^(?:(?:\+|00)?\d{1,3}...)
^https?://[^\s/$.?#].[^\s]*$
^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)...
^#?([a-f0-9]{6}|[a-f0-9]{3})$
^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$
^(?!.*\s{2})(?!^\s)(?!\s$)[a-zA-Z\s]{2,50}$
^\d{4}-\d{2}-\d{2}$
. | Any character except newline |
\d | Digit [0-9] |
\D | Not a digit |
\w | Word character [a-zA-Z0-9_] |
\W | Not a word character |
\s | Whitespace [ \t\n\r\f\v] |
\S | Not whitespace |
* | 0 or more |
+ | 1 or more |
? | 0 or 1 |
{n} | Exactly n times |
{n,} | n or more times |
{n,m} | Between n and m times |
^ | Start of string/line |
$ | End of string/line |
\b | Word boundary |
\B | Not word boundary |
(...) | Capturing group |
(?:...) | Non-capturing group |
(?<name>...) | Named group |
(?=...) | Positive lookahead |
(?!...) | Negative lookahead |
(?<=...) | Positive lookbehind |
@(\w+\.\w+)^(?=.*[A-Z])(?=.*[a-z])(?=.*\d).{8,}$#(\w+)\s+