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 4,760 community submitted regex patterns...
1
01-sitepoint-com-learn-regex-olmatro
PCRE2 (PHP >=7.3)
01-sitepoint-com-learn-regex-olmatro https://www.sitepoint.com/learn-regex/ SOM: we’ll look at the simplest form of regular expression we can build. Input the following:...
Submitted by
https://www.sitepoint.com/learn-regex/
-
3 years ago
1
Internation Phone
PCRE2 (PHP >=7.3)
phone number with country code + or 00
Submitted by
anonymous
-
3 years ago
1
Name
PCRE2 (PHP >=7.3)
English or Arabic Letters and Spaces
Submitted by
anonymous
-
3 years ago
1
Validate a 10-digit US Phone Number
PCRE2 (PHP >=7.3)
Validate a 10-digit US Phone Number
Submitted by
JB
-
3 years ago
1
Obsidian external embedded link
PCRE2 (PHP >=7.3)
Obsidian external embedded link
Submitted by
arezvov
-
3 years ago
1
pack_size
PCRE2 (PHP >=7.3)
get pack_size from a string
Submitted by
anonymous
-
3 years ago
1
us phone number validation
PCRE2 (PHP >=7.3)
us phone number validation
Submitted by
anonymous
-
3 years ago
1
Email Verification
PCRE2 (PHP >=7.3)
PHP REGEX to verify an email.l
Submitted by
anonymous
-
3 years ago
1
get homepage url from full url
Python
get homepage url from full url
Submitted by
Suraj Shrestha
-
3 years ago
1
Email
PCRE2 (PHP >=7.3)
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-z]{2,3}$
Submitted by
Mykola Buhaiov
-
3 years ago
1
Replace variable value with variable
PCRE2 (PHP >=7.3)
Replace variable value with variable
Submitted by
anonymous
-
3 years ago
1
Jira
PCRE2 (PHP >=7.3)
Jira
Submitted by
anonymous
-
3 years ago
1
IPV4 Address Identificate
PCRE2 (PHP >=7.3)
Regex to identificate a IPV4 Address
Submitted by
Pablo Deyvid
-
3 years ago
1
Regex
PCRE2 (PHP >=7.3)
Match an element from a list
Submitted by
anonymous
-
3 years ago
1
Phone Number E.164
PCRE2 (PHP >=7.3)
Starts with + from 8 digits until 15
Submitted by
Sear Lopez
-
3 years ago
1
US Date Format to ISO using regex substitution
PCRE2 (PHP >=7.3)
Convert a US Date format to ISO
Submitted by
Joe Kruger
-
3 years ago
1
Match Between HTML Tags
PCRE2 (PHP >=7.3)
Match everything within the given HTML tag
Submitted by
William Wilkins
-
3 years ago
1
Break PANEL webcomic
PCRE2 (PHP >=7.3)
regex that wrap the Panel section with $& so it will display like a webcomic codepen link: https://codepen.io/mangadrawing123/pen/oNwavgQ?editors=0110
Submitted by
anonymous
-
3 years ago
1
Don't match numbers longer than 5 length
Python
using ^ and $
Submitted by
anonymous
-
3 years ago
1
UK style date
PCRE2 (PHP >=7.3)
dd/mm/yyyy
Submitted by
Russ Ferriday, from Docusign templates
-
3 years ago
1
...
34
35
36
37
38
...
238
h_spring-present-absent
0
Regular Expression
Python
r"
^
(
[
A
-
Za
-
z
]
+
\b
(?<!
PRESENT
\b
)
(?<!
ABSENT
\b
)
(?<!
NORMAL
\b
)
(?<!
POSITIVE
\b
)
(?<!
NEGATIVE
\b
)
(?<!
TRACE
\b
)
)
+
(
ABSENT
|
PRESENT
|
NORMAL
|
TRACE
|
POSITIVE
|
NEGATIVE
|
\"
[
A
-
Z
]
+
)+
*
(
[
\(\+\)
]
*
)
*
(
Absent
|
Normal
|
Present
|
Trace
|
Positive
|
Negative
)*
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago