Real-time regex testing with match highlighting
Flags
Enable the "g" flag to find every match; without it only the first is returned.
\S+@\S+\.\S+
https?://\S+
\b(?:\d{1,3}\.){3}\d{1,3}\b
\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}
\d{4}-\d{2}-\d{2}
#[0-9a-fA-F]{6}
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
\w+
\d+