Free Online Regular Expression Testing Tool
Fast, accurate, and easy-to-use regular expression testing platform
Fast, accurate, and easy-to-use regular expression testing platform
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
Matches standard email format
^1[3-9]\d{9}$
Matches Chinese mainland 11-digit phone number
^[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]$
Matches 18-digit ID card number
^((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$
Matches IPv4 address format
^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)$
Matches HTTP/HTTPS links
[\u4e00-\u9fa5]
Matches single Chinese character
^-?\d+$
Matches positive and negative integers
^-?\d+\.\d+$
Matches positive and negative decimals
[abc] - Matches a, b, or c[a-z] - Matches any lowercase letter[^abc] - Matches any character except a, b, c* - Zero or more times+ - One or more times? - Zero or one time{n} - Exactly n times{n,} - n or more times{n,m} - Between n and m times. - Matches any character (except newline)^ - Matches start of string$ - Matches end of string\d - Matches digits\w - Matches letters, digits, underscore\s - Matches whitespace characters