Test JavaScript regular expressions with live match highlighting.
No matches
The pattern does not match the test string.
/([a-zA-Z0-9._%+-]+)@([a-zA-Z0-9.-]+\.[a-zA-Z]{2,})/g
/https?:\/\/(?<host>[\w.-]+)(?<path>\/[^\s]*)?/gi
/(?<year>\d{4})-(?<month>0[1-9]|1[0-2])-(?<day>0[1-9]|[12]\d|3[01])/g
/#(?:[0-9a-fA-F]{3}){1,2}\b/g
/\b(?:(?:25[0-5]|2[0-4]\d|1?\d?\d)\.){3}(?:25[0-5]|2[0-4]\d|1?\d?\d)\b/g
/\(?(\d{3})\)?[-.\s]?(\d{3})[-.\s]?(\d{4})/g
/\bv?(\d+)\.(\d+)\.(\d+)(?:-([\w.]+))?\b/g
/^\[(ERROR|WARN)\].*$/gm