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,020 community submitted regex patterns...
7
rsyslog test
PCRE (PHP <7.3)
global modifier
Submitted by
dtmland
-
10 years ago
7
Any positive integer except zero
PCRE (PHP <7.3)
no description available
Submitted by
Harsh
-
9 years ago
7
Date and time format - ISO 8601
ECMAScript (JavaScript)
Matches ISO 8601 date formats
Submitted by
Ettienne
-
9 years ago
31
Email address (most used)
ECMAScript (JavaScript)
Email address, most used cases
Submitted by
Jago
-
9 years ago
10
Strip Email ID from Name
PCRE (PHP <7.3)
Use this regex to select all characters up to the "" bracket. It works across multiple lines. You can get an email list with only the IDs. This is the pattern it matches: Alpha Person Step 1 (.*) [$ Step 2 [$.$] (.*) gives you aperson@whatever.org...
Submitted by
Jonathan Davidar
-
10 years ago
9
Removing an XML Nodes namespace prefix from a XML string wit
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
26
match valid JSON
PCRE (PHP <7.3)
Matches any valid JSON object, matches recursively. Passes all JSON test cases I found.
Submitted by
Mateon1
-
10 years ago
12
Remove Special Ascii Characters from unicode String
PCRE (PHP <7.3)
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Submitted by
Hummad Hassan
-
10 years ago
12
Username with "_" "-"
ECMAScript (JavaScript)
no description available
Submitted by
Gianvy
-
9 years ago
4
For Auto RTFs
PCRE (PHP <7.3)
no description available
Submitted by
Dan Bloomquist
-
12 years ago
4
outer Parentheses
PCRE (PHP <7.3)
Finds the outermost pair of parentheses. Compatible with any amount of nesting
Submitted by
Jonas Gerneth
-
11 years ago
4
Command handling
PCRE (PHP <7.3)
Handles commands like in CMD
Submitted by
anonymous
-
10 years ago
4
parsing a numeric strings with backslash using regexp
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
4
uri parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
4
Match nth occurence of pattern
PCRE (PHP <7.3)
Match nth occurence of the patterns in the inner parenthesis. Put nth that you want to match in the curly braces (here, {3}).
Submitted by
Alex Hall
-
10 years ago
4
Equation matching (without equal)
Python
use this to get value of any side of an equation. You can combine this with https://regex101.com/r/fH5kJ1/1
Submitted by
Kerosene2000
-
9 years ago
4
Roman numeral detector
PCRE (PHP <7.3)
Detects valid Roman numerals (up to 3999), and splits into 4 capture groups: thousands, hundreds, tens, and units.
Submitted by
Terence Linnell
-
9 years ago
4
Epic EHR Sticker QR code patient information
PCRE (PHP <7.3)
Text output produced by reading the QR code present on patient stickers created by Epic (R) medical record software
Submitted by
MeWa
-
9 years ago
4
TV series season and episode names
PCRE (PHP <7.3)
This regex matches against season and series names
Submitted by
mikey
-
9 years ago
4
Typescript - /// <reference path="..."/> Expression
ECMAScript (JavaScript)
Finds Typescript's reference path syntax.
Submitted by
Lovelidge, Shawn
-
9 years ago
1
...
893
894
895
896
897
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
\b
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\b
/
Open regex in editor
Description
IP4 正则语句
Submitted by
anonymous
-
7 years ago