Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,080 community submitted regex patterns...
1
TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ
Python
This would appear to violate the premise of this famous StackOverflow answer, however this is not parsing as such, only matching or heuristic identification. Technically, all text is HTML if served to a browser in such a way that the browser chooses to interpret it that way, e.g. using a text/html ...
Submitted by
Alice Bevan-mcgregor
-
a year ago
0
matrix.to URL regex
Python
Regex to detect and extract detail from matrix.to
Submitted by
anonymous
-
10 months ago
1
emoji-test.txt
Python
emoji-test.txt
Submitted by
anonymous
-
9 months ago
1
Match emoji in emoji-zwj-sequences.txt
Python
Match emoji in emoji-zwj-sequences.txt
Submitted by
anonymous
-
9 months ago
1
HGVS - ClinVar Submission
Python
HGVS Nomenclature Check for ClinVar Submissions
Submitted by
anonymous
-
9 months ago
(Last modified 9 months ago)
1
Python Print String arg extraction
Python
Extract substitution parameters from python print strings works with fstrings old style format strings old style %(variable) strings
Submitted by
Giles Knap
-
8 months ago
1
Improvement on Python Print substitution argument matching
Python
Get the python substitution strings from inside of print statements. Replace the whole substitution string with {{ ArgumentName }} for use in a Jinja2 rendering. Supports fstrings...
Submitted by
Giles Knap
-
8 months ago
1
Group tags and lyrics
Python
Group tags and lyrics in one lrc file, multiple lines
Submitted by
Cricar
-
7 months ago
1
Match each tag
Python
Match each tag in a lrc file
Submitted by
Cricar
-
7 months ago
1
Extract tag name and its content
Python
Lrc file
Submitted by
Cricar
-
7 months ago
1
Remove ANSI Escape Code
Python
Remove ANSI Escape Code
Submitted by
diaogong
-
7 months ago
1
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
7 months ago
1
задание_03
Python
задание_03
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
1
NANP Modern Plan US Telephone / Phone number
Python
Match 10-digit phone number that mostly complies with NANP Modern Plan. https://en.wikipedia.org/wiki/North_American_Numbering_Plan Simple explanation: ...
Submitted by
makinhey
-
6 months ago
(Last modified 6 months ago)
1
Email Address Validation
Python
RegEx pattern to match email addresses. Visit the detailed tutorial to learn more.
Submitted by
Minh Vu
-
6 months ago
(Last modified 6 months ago)
1
IPv4+CIDR(optional)
Python
Strict validator for IPv4 with optional CIDR Disallows 00 in any octet
Submitted by
ophers
-
6 months ago
1
Get text after parenthesis.
Python
This regular expression helps to get the strings of a line that comes after a parenthesis and a blank space. Could be useful with lines of text with or similar format of the APA citation style: Author (year) title
Submitted by
anonymous
-
6 months ago
1
Ansible Playbook Execution - Task Output
Python
Parse Task Titles and capture results/output of each task
Submitted by
Paul Cummings
-
5 months ago
1
Capture Paragraph Text in html
Python
TLDR: It can be used to capture all the paragraphs from some webnovel sites. *update: testing other sites, I've found it lacking. This is intended to match a tag and it's closing tag. It only matches and captures if there are no other html tags nested in the tag. There is room to adjust with the...
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
Parse OBIS Data
Python
Parsing OBIS Data
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
...
34
35
36
37
38
...
104
Valid domain Check
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
(?!
\-
)
)
(
xn
\-\-
)?
[
a
-
z0
-
9
\-
_
]
{0,61}
[
a
-
z0
-
9
]
{1,1}
\.
)*
(
xn
\-\-
)?
(
[
a
-
z0
-
9
\-
]
{1,61}
|
[
a
-
z0
-
9
\-
]
{1,30}
)
\.
[
a
-
z
]
{2,}
$
/
gm
Open regex in editor
Description
Valid domain check, includes multibyte character check.
Submitted by
anonymous
-
2 years ago