Introduction to Regular Expression Testing Tools

The regular expression testing tool provides you with JS regular expression verification, regular expression verification, regular expression verification, regular expression testing tools, which can be used to customize regular expressions to extract text content, validate arbitrary regular expressions, extract URLs from regular expressions, and format regular expressions online. I hope it will be helpful to everyone.


The role of regular expressions

A regular expression is a text pattern that includes ordinary characters (for example, letters between a and z) and special characters (called "metacharacters"). Regular expressions use a single string to describe and match a series of strings that match a certain syntactic rule. Regular expressions are cumbersome, but they are powerful. After learning them, they will give you an absolute sense of achievement in addition to improving efficiency. Many programming languages support string operations using regular expressions.

common metacharacters
codeSyntax
.Matches any character except newline characters
\wMatch letters or numbers or underscores
\sMatches any whitespace
^((संख्या को मेल होने का परीक्षण करें
\bशब्द के आरंभ या अंत को मेल होने का परीक्षण करें
^मेल होने वाले शब्द का आरंभ
$शब्द के अंत को मेल होने का परीक्षण करें
सामान्य अभियोग
common antonym/CodeSyntax
*शून्य या अधिक बार दोहराएं
+एक या अधिक बार दोहराएं
?शून्य या एक बार दोहराएं
{n}n बार दोहराएं
{n,}n या अधिक बार दोहराएं
{n,m}n से m बार दोहराएं
common antonym
common antonym/CodeSyntax
explain\W
Matches any character that is not a letter, number, underscore, or kanji\S
Matches any character that is not a whitespace character\D-Matches any non
numeric characters\B
Match is not where words begin or end[^x]
Matches any character except x[^aeiou]

Matches any character except the letters aeiou

रेगुलर एक्सप्रेशन संदर्भ एनसाइक्लोपीडियाcharacter
describe+$)?))$-^\d + point numbers (negative floating
//negative integers (positive integers+\d+)?$)?))$-Matches the integer ^\d-negative floating-फ्लॉटिंग मेच करें + point numbers (negative floating
point numbers (positive floating-9]+(([0-9]*[1-9][0-9]*\.[0-9]*[1-9][0-9]*(([0-9]+\.[0-9]*[1-9][0-9]*^(([0//))$-फ्लॉटिंग मेच करें
Match positive floating-^((+\d+(\.\d+)?|(0+(\.0)?))$-Match non-positive floating-फ्लॉटिंग मेच करें + point numbers (negative floating
match negative floating-0)-9]+(([0-9]*[1-9][0-9]*\.[0-9]*[1-9][0-9]*(([0-9]+\.[0-9]*[1-9][0-9]*)|([0//))$-फ्लॉटिंग मेच करें
match negative floating-^(+?\d+)?$//(\.\d-फ्लॉटिंग मेच करें
^[A-Za-z]+$संख्या में मैच 26 Z]
^[A-संख्या में मैच+$अंग्रेजी अक्षरों की तारा मेच करें 26 Z]
^[a-z]+$अंग्रेजी अक्षरों की तारा मेच करें 26 कम से कम अक्षर
^[A-Za-z0-9]+$संख्याओं की तारा मेच करें 26 अक्षर
^\w+$संख्याओं से बनी तारा मेच करें 26 अक्षर, या अंडरस्कोर
^[\w-]+(\.[\w-]+)*@\w-]+(\.[\w-]+)+$//ईमेल एड्रेस में मैच
^[a-zA-z]+://खाता में मैच (\w+(-\w+)*)(\.(\w+(-\w+)*))*(\?\S*)?$//url में मैच
[\u4e00-\u9fa5]रेगुलर एक्सप्रेशन के लिए मेच करने वाले चीनी अक्षर
[^\x00-\xff]डबल मेच करें-बाइट चारकर्क (चीनी अक्षरों सहित)
\n[\s| ]*\rरेगुलर एक्सप्रेशन के लिए मेच करने वाली खाली पंक्तियाँ
/<(.*)>.*<\/>|<(.*)\/>/रेगुलर एक्सप्रेशन के लिए मेच करने वाले HTML टैग
(^\s*)|(\s*$)समाप्त मेच करने वाले रेगुलर एक्सप्रेशन-से-समाप्त अंतरिक्ष
\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*रेगुलर एक्सप्रेशन के लिए मेच करने वाला ईमेल एड्रेस
^[a-zA-z]+://(\w+(-\w+)*)(\.(\w+(-\w+)*))*(\?\S*)?$रेगुलर एक्सप्रेशन में मेच करने वाली URL
^[a-zA-Z][a-zA-Z0-9_]{4,15}$खाता के लिए वैधता में मैच करें (अक्षर से शुरू होना अनुमति) 5-16 बाइट, अलफ़ा-न्यूमेरिक अंडरस्कोर अनुमति)
(\d{3}-|\d{4}-)?(\d{8}|\d{7})?घरेलू फोन संख्या में मैच
^[1-9]*[1-9][0-9]*$Tencent QQ संख्या में मैच
आपके पगले: