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,000 community submitted regex patterns...
0
Find OTP
PCRE2 (PHP >=7.3)
Covers most of the cases of getting otp from email or mobile number
Submitted by
anonymous
-
2 years ago
0
url matcher
ECMAScript (JavaScript)
improvement of the regular expression seen in this meme: https://old.reddit.com/r/ProgrammerHumor/comments/vxhbku/a_regex_god/
Submitted by
Mitsunee
-
2 years ago
0
HGVS Frameshift protein
PCRE2 (PHP >=7.3)
Protein frameshift hgvs
Submitted by
anonymous
-
2 years ago
0
deetct href and src in html files for vs code
PCRE2 (PHP >=7.3)
deetct href= and src= in html files for vs code
Submitted by
anonymous
-
2 years ago
0
beginning of new file / very start of the first line
PCRE2 (PHP >=7.3)
beginning of new file / very start of the first line
Submitted by
rasreeee
-
2 years ago
0
Minecraft Command Getter
ECMAScript (JavaScript)
A "detector" thing
Submitted by
MeowcaTheoRange
-
2 years ago
0
MB - XE Currency connector
PCRE2 (PHP >=7.3)
Martin Bencher - XE Currency connector
Submitted by
Ghita
-
2 years ago
0
FullName_regex
Java 8
2135
Submitted by
anonymous
-
2 years ago
0
MSE Qualifier Regex
PCRE2 (PHP >=7.3)
Regular Expression for getting a Qualifier as defined by MapleMBSE
Submitted by
anonymous
-
2 years ago
0
IP (v4 and v6) check
ECMAScript (JavaScript)
This regexp match an ip address in v6 or v4 form. Included V6 compact form (:: in place of :0000:). Doesn't matches addresses range or mixed format (like y:y:y:y:y:y:x.x.x.x)
Submitted by
Emanuele Benedetti
-
2 years ago
(Last modified 2 years ago)
0
Between brackets
PCRE2 (PHP >=7.3)
Get all values between brackets
Submitted by
aldo-f
-
2 years ago
0
Title RegEx
PCRE2 (PHP >=7.3)
Checks named titles like Mr., Mrs, Ms. prefixed to names
Submitted by
anonymous
-
2 years ago
0
Checker for specific key
PCRE2 (PHP >=7.3)
Checker for specific key
Submitted by
anonymous
-
2 years ago
0
test
ECMAScript (JavaScript)
o
Submitted by
k
-
2 years ago
-1
Bluerose order-code
PCRE2 (PHP >=7.3)
order-code 20220623-19563352 20220623-18261367 20220606-15484894 20220606-15484 20220606...
Submitted by
anonymous
-
2 years ago
0
MATCH NO HREF DE HTML
PCRE2 (PHP >=7.3)
Match em href do html
Submitted by
anonymous
-
2 years ago
0
Regex PH landline
PCRE2 (PHP >=7.3)
Regex PH landline (sample)
Submitted by
anonymous
-
2 years ago
0
THE BEST RegEx for extracting filename without extension and extension from any path
PCRE (PHP <7.3)
THE BEST RegEx for extracting filename without extension and extension from any path
Submitted by
anonymous
-
2 years ago
-1
Best REGEX for extracting FILENAME WITHOUT EXTENSION and EXTENSION from any Posix-like path (version 4)
PCRE (PHP <7.3)
Best REGEX for extracting FILENAME WITHOUT EXTENSION and EXTENSION from any Posix-like path (version 4)
Submitted by
anonymous
-
2 years ago
0
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
...
825
826
827
828
829
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?=
.
{1,40}
$
)
[
a
-
zA
-
Z
]
+
(?:
[
\s
]
+
(
[
a
-
zA
-
Z
]
*
)?
+
)*
$
/
gm
Open regex in editor
Description
This Regex is for first name and last name with multiple spaces
Submitted by
Tej
-
2 years ago