Test and debug regular expressions with real-time matching
Flags
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
1[3-9]\d{9}
https?://[\w\-]+(\.[\w\-]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?
(?<![\d.])(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?![\d.])
[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]
[\u4e00-\u9fa5]+
\d+
\d{4}-\d{2}-\d{2}
<[^>]+>
#[0-9a-fA-F]{6}
No results yet — enter some input first
Free online regular expression tester with real-time match highlighting, capture group inspection and common regex examples.