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 5,800 community submitted regex patterns...
-1
UK Postcode Validation
ECMAScript (JavaScript)
Matches all valid, current UK Postcodes, including Girobank and non-geographic postcodes, irrespective of whether they contain a space. It does not include overseas territories. Adapted from the BS7666 postcode rules at http://www.cabinetoffice.gov.uk/govtalk/schemasstandards/e-gif/datastandards/add...
Submitted by
Ti Marner
-
9 years ago
1
Inverse Match
Python
inverse match letters, numbers, and underscores
Submitted by
anonymous
-
9 years ago
1
Get the extension of file
ECMAScript (JavaScript)
Get the extension of file
Submitted by
Taffarel Xavier
-
9 years ago
1
Get extension of an file
ECMAScript (JavaScript)
Get extension of an file.
Submitted by
Taffarel Xavier
-
9 years ago
-2
Username
ECMAScript (JavaScript)
^[_a-zA-Z0-9]+$ how to make regex username with underscore. i'm using c# but this regex isn't working.
Submitted by
anonymous
-
9 years ago
0
Ultimate url regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Detecta abreviaturas de tipo de personalidades juridicas
ECMAScript (JavaScript)
Detecta abreviaturas de tipo de personalidades juridicas, que habitualmente se encuentran en la razón social de una empresa, en el caso de Chile es obligatorio la razon social especifique que tipo de personalidad juridica es.
Submitted by
Edurdo Gómez
-
9 years ago
1
REGEX
Python
no description available
Submitted by
anonymous
-
9 years ago
1
ISO-8601 date parse
ECMAScript (JavaScript)
Works with 2015-04-03T13:56:24.0+00:00 (official) format, and 2015-04-03T13:56:24+0000 (PHP) format, too
Submitted by
Norbi
-
9 years ago
1
test tags Libellex
ECMAScript (JavaScript)
no description available
Submitted by
AROC
-
9 years ago
1
Pre tags and inner contents grabber for JavaScript
ECMAScript (JavaScript)
No /s, took quite a time to think.
Submitted by
Namikaze Ray a.k.a. Pendechosen
-
9 years ago
1
HTML Anchor <a> Tag Grabber(overcome newlines)
ECMAScript (JavaScript)
no description available
Submitted by
Namikaze Ray a.k.a Pendecosen
-
9 years ago
2
Brazillian Phone Number Format (Formato de Num. de Telefone no Brasil)
ECMAScript (JavaScript)
no description available
Submitted by
Castrolol
-
9 years ago
1
spaces in parenthesis
ECMAScript (JavaScript)
Eliminate spaces in the inner part of parenthesis.
Submitted by
Luis Colorado
-
9 years ago
0
Negative lookbehind
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Only return what's between the brackets i.e. (a)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Almost working sites regex
Python
no description available
Submitted by
anonymous
-
9 years ago
4
Hibernate SQL Reductor
ECMAScript (JavaScript)
If you want to understand an SQL statement for Hibernate: this replaces the selected fields in an SQL statement generated by Hibernate by a shorthand, since you usually just care about the logic. E.g. it changes select foo0_.bla as bla1_3, foo0_.bar as bar1_3, foo0_.baz1_3 as baz1_3 from ... to sele...
Submitted by
Hans-Peter Stoerr www.stoerr.net
-
9 years ago
1
AD Default Password Policy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Removes C-like comments
Python
no description available
Submitted by
Gabriel Olivério
-
9 years ago
1
...
274
275
276
277
278
...
290
Match IPv4 Valid
0
Regular Expression
.NET 7.0 (C#)
@"
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
\.
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
\.
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
\.
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
"
gm
Open regex in editor
Description
expression to capture valid IP
Submitted by
anonymous
-
a year ago