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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,040 community submitted regex patterns...
0
Drealth
PCRE2 (PHP >=7.3)
just a normal text to the drealth emojis
Submitted by
NobreHD
-
3 years ago
0
完形填空答案提取
Python
提取并分组: 题号 ABCD四个答案
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Mez regex #3
ECMAScript (JavaScript)
This is the #3 regex used in Mez
Submitted by
anonymous
-
3 years ago
0
Bracket finder ( Mez regex #2 )
ECMAScript (JavaScript)
This is the #2 regex used in Mez
Submitted by
anonymous
-
3 years ago
0
Mez regex #1
ECMAScript (JavaScript)
This is the #1 regex used in Mez
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Select links comment
PCRE2 (PHP >=7.3)
I have a lot of code that looks like this: ...
Submitted by
charliecalvert
-
3 years ago
0
find between 2 strings
PCRE2 (PHP >=7.3)
find between 2 strings
Submitted by
anonymous
-
3 years ago
0
find between
PCRE (PHP <7.3)
find between
Submitted by
anonymous
-
3 years ago
0
Replace anything not a letter or a hyphen
PCRE2 (PHP >=7.3)
Make folder/url safe use with eg sed: echo 'My fancy $thing' | sed 's//-/g' results in My-fancy--thing
Submitted by
anonymous
-
3 years ago
0
Url handling
Python
Simple regex to split url
Submitted by
Hangfish
-
3 years ago
1
Notes in markdown with underscore
ECMAScript (JavaScript)
I use it to find mark down note that I wrote with an _when I meant to use an *
Submitted by
charliecalvert
-
3 years ago
0
markdown headings with underscore
PCRE2 (PHP >=7.3)
it still makes a few false positives
Submitted by
charliecalvert
-
3 years ago
-1
Convert numbers-only YYYYMMDD date to dash delineated YYYY-MM-DD
PCRE2 (PHP >=7.3)
Convert numbers-only YYYYMMDD date to dash delineated YYYY-MM-DD
Submitted by
anonymous
-
3 years ago
0
Jerem
PCRE2 (PHP >=7.3)
To match specific name based on season code
Submitted by
anonymous
-
3 years ago
0
JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis
PCRE2 (PHP >=7.3)
Regex that allows the following: foo(bar).qax(foo(bar).qax(foo(bar).qax(foo(bar).qax()))) Its sorta hard to make out whats going on, so I will just say it: ...
Submitted by
jD3V
-
3 years ago
0
Mikrotik Regex Firewall Log Golang
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
-
3 years ago
1
Match HMTL/WXML tag and class
ECMAScript (JavaScript)
Match HMTL/WXML tag and class
Submitted by
ice breaker
-
3 years ago
0
.csv data conversion for a test case
PCRE2 (PHP >=7.3)
from "['a']" to "[""a""]"
Submitted by
anonymous
-
3 years ago
0
FIrst or Last Name
ECMAScript (JavaScript)
Validates a first or last name of an user. Positives: Anna Anna-Louisa Anna Louisa...
Submitted by
Iris
-
3 years ago
0
regex expression to DateTime checking in YYYY-MM-DDTHH:MM:SS[+/-]HH:SS
Python
/(^((\d{4}-(((0[13578]|1)-(0[1-9]|[1-2]\d|3[01]))))|((\d{4}-(((0[469]|1)-(0[1-9]|[1-2]\d|3)))))|((\d{4}-(0[2]-(0[1-9]|[1-2]\d)))))T(([01]\d|2[0-3]):([0-5]\d):([0-5]\d))?(+-\d:[0-5]\d)$)/gm
Submitted by
anonymous
-
3 years ago
(Last modified a year ago)
1
...
141
142
143
144
145
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
0
-
9
]
{2}
(
[
A
-
Z
]
{3}
[
P,C,H,A,B,G,J,L,F,T
]
[
A
-
Z
]
[
0
-
9
]
{4}
[
A
-
Z
]
)
[
0
-
9
]
[
Z
]
[
0
-
9
]
$
/
Open regex in editor
Description
Goods & Service Tax Numebr
Submitted by
anonymous
-
3 years ago