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 5,760 community submitted regex patterns...
1
Get the extension of file
ECMAScript (JavaScript)
Get the extension of file
Submitted by
Taffarel Xavier
-
10 years ago
1
Inverse Match
Python
inverse match letters, numbers, and underscores
Submitted by
anonymous
-
10 years ago
1
match the first sentence, ignoring enumerations
Python
no description available
Submitted by
Henrik Heimbuerger
-
10 years ago
1
Object regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Sentence Matcher
ECMAScript (JavaScript)
Matches sentences, but skips over abreviations
Submitted by
Jonathan Mee
-
10 years ago
1
JS Regex Lazy quantifier
ECMAScript (JavaScript)
JS Regex Lazy quantifier
Submitted by
anonymous
-
10 years ago
1
LOL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
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
1
Find exeptions in log4j
Python
regex to consider exceptions in log4j
Submitted by
anonymous
-
10 years ago
1
Validador de Senha
ECMAScript (JavaScript)
Para ser valido o texto deve ter entre 6 e 32 caracter entre eles um deve ser um especial, uma letra maiúscula, uma minúscula e um número
Submitted by
Gustavo Américo (GAG)
-
10 years ago
1
Validador de Data (MMddYYYY e YYYYMMdd)
ECMAScript (JavaScript)
Verifica se o texto digitado corresponde a um formato de data valida por expl. 12/31/2015 ou 2015/12/31
Submitted by
Gustavo Américo (Gag)
-
10 years ago
1
Email
ECMAScript (JavaScript)
Supports new top level domains, such as .plumbers .blackfriday
Submitted by
Glutnix
-
10 years ago
1
Remove GO and split for batch SQL text
ECMAScript (JavaScript)
Useful for when you need to convert a T-SQL MSSMS Server batch into individual SQL requests by removing the GO between them. e.g. Dim SQLBatches As String() = Regex.Split(text, "(?:\s|\r|\n)+GO\s*(?:\r|\n)", RegexOptions.IgnoreCase)
Submitted by
SarahC
-
10 years ago
1
URL parser
Python
gets the ://:/ from am url
Submitted by
anonymous
-
10 years ago
1
very basic email regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
regex for redirect
Python
no description available
Submitted by
igor
-
10 years ago
1
Check if number is a float
ECMAScript (JavaScript)
no description available
Submitted by
@hiaru
-
10 years ago
1
Get path from URL
Python
extract the path from a URL returns one group (if matching) with the path info e.g. http://somedomain.com/some-page/ http://www.domain.com:8080/some-page/ https://www.google.com:8080/some-page/...
Submitted by
luke_aus
-
10 years ago
1
ReGEX EXPression
ECMAScript (JavaScript)
ReGEX EXPression generating Values but repeating want values should not repeat.
Submitted by
anonymous
-
10 years ago
1
States
Python
States (US) 2 char format, matches: Ga or GA
Submitted by
miqui
-
10 years ago
1
...
191
192
193
194
195
...
288
Community Library Entry
72
Regular Expression
Recommended
ECMAScript (JavaScript)
/
(?:
(
[
+
]
\d
{1,4}
)
[
-.
\s
]
?
)?
(?:
[
(
]
(
\d
{1,3}
)
[
)
]
[
-.
\s
]
?
)?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,9}
)
/
g
Open regex in editor
Description
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
-
11 years ago
(Last modified a year ago)