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...
1
URL Validator and Slicer
Python
Validates a URL input as text and then slices it into: protocol, base_url, port, relative_url and parameters. (Multiline and global flags are set for debugging reasons only)
Submitted by
George Shazkho
-
10 years ago
0
1
PCRE (PHP <7.3)
1
Submitted by
1
-
10 years ago
1
SelfMon Filter User & Group
PCRE (PHP <7.3)
Filter selfmon events by user and group using the r= switch. The full filter is entered as: r=/(?=.FULL SET USER1)(?=.Grp= 1)/ms
Submitted by
SelfMon
-
10 years ago
0
Single xml tag close to separated
ECMAScript (JavaScript)
the tag must be a minumum of 3 characters long so we don't catch any BR, HR, etc.
Submitted by
Agent Codesmith
-
10 years ago
1
Email address validator
PCRE (PHP <7.3)
Validates most email addresses. Using the range [A-Za-z0-9] at the beginning instead of \w means an address cannot begin with an underscore. This range is also used to exclude underscores from the domain (part after @).
Submitted by
Owen Howard
-
10 years ago
1
Validate mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Remove repetitions from plain array
PCRE (PHP <7.3)
Remove repeated elements from a plain JSON array.
Submitted by
Icaro Niz
-
10 years ago
2
Match 5 forward slashes
Python
Match 5 forward slashes
Submitted by
anonymous
-
10 years ago
1
LOL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
JS Regex Lazy quantifier
ECMAScript (JavaScript)
JS Regex Lazy quantifier
Submitted by
anonymous
-
10 years ago
1
Sentence Matcher
ECMAScript (JavaScript)
Matches sentences, but skips over abreviations
Submitted by
Jonathan Mee
-
10 years ago
0
23
PCRE (PHP <7.3)
23
Submitted by
23
-
10 years ago
2
BZWBK24 SMS Code
PCRE (PHP <7.3)
no description available
Submitted by
maniekq
-
10 years ago
2
Simple Telephone number(America/Canada)
PCRE (PHP <7.3)
Accepts spaces or not 1234567890 123 456 7890
Submitted by
Christopher Dufort
-
10 years ago
-3
Select a HTML table and all its innerHTML
PCRE (PHP <7.3)
no description available
Submitted by
@ixzy24
-
10 years ago
0
Canadian Postal Code
ECMAScript (JavaScript)
3 Forms: H5H 5H5 H5H5H5 H5H-5H5
Submitted by
Christopher Dufort
-
10 years ago
1
always greedy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Object regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-2
Test Balanced Parentheses
PCRE (PHP <7.3)
no description available
Submitted by
Me
-
10 years ago
2
selectin multiple image pattern
Python
no description available
Submitted by
cool_jesus
-
10 years ago
1
...
853
854
855
856
857
...
902
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
(
[
+-
]
?
(?=
\.
\d
|
\d
)
(?:
\d
+
)?
(?:
\.
?
\d
*
)?
(?:
[
eE
]
[
+-
]
?
\d
+
)
)
"
g
Open regex in editor
Description
This might help you to not miss some because the (.....), is dependent on the length.
Submitted by
Darwin Subramaniam
-
2 years ago
(Last modified 2 years ago)