Home
> JS regular expression tool
regular expression
-- Commonly used regular expressions --
Match double-byte characters
Matches white space at the end of the line and the beginning of the line
Only numbers can be entered
Only n numbers can be entered
Enter at least n more numbers
Only m to n numbers can be entered
Can only be composed of English letters
Can only consist of uppercase English letters
Can only consist of English and numbers
Can only consist of English, numbers, and underscores
Match email address
Match URL address
Match date (yyyy-MM-dd)
Determine whether it is IE browser from UA
Determine whether it is webkit kernel from UA
Determine whether it is a Chrome browser from UA
Determine whether it is firefox browser from UA
Determine whether it is opera browser from UA
Determine whether it is Safari browser from UA
Determine whether it is an Android system from UA
Determine whether it is an iPad from UA
Determine whether it is an iPhone from UA
Determine whether it is a macOS platform from UA
Determine whether it is a Windows platform from UA
Determine whether it is a mobile terminal from UA
Match link tag
Match HTML tag
Match non-HTML tags
Match script tag
Match HTML comments
Match HTML conditional comments
Match non-IE conditional comments
Match CSS expression
Match illegal HTML tags
Match textarea tag
text content
Match results