Regular Expression Test Tool | Online regular match verification
regular expression
-- Common Regular Expressions --
Match Chinese characters
Matches double-byte characters
Matching the end of the line and the beginning of the line are blank
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
It can only consist of English letters
It can only be composed of uppercase English letters
It can only consist of English and numbers
It can only consist of English, numbers, and underscores
Match email address
Match URL address
Match mobile phone number
Match ID number
Match postal code
Matching Date (yyyy-MM-dd)
Judge whether it is Internet Explorer from UA
Judge whether it is a webkit kernel from UA
Judge whether it is a chrome browser from UA
Judge whether it is a Firefox browser from UA
Judge from UA whether it is an opera browser
Judge whether it is Safari from UA
Judge whether it is an Android system from UA
Judge from UA if it's an iPad
Judge whether it is an iPhone from UA
Judge whether it is a Mac OS platform from UA
Judge whether it is a Windows platform from UA
Determine whether it is a mobile terminal from UA
]*>.*?\1>|<.*?/>/gm' > match HTML tag
]*>[\s\S]*?<\/[^>]*script>/gi' > match the script tag
Matches HTML conditional comments
Matches non-IE conditional annotations
Matches CSS expressions
]*>[\s\S]*?<\/[^>]*textarea>/gi' > match the textarea tag
Text content
Match the result