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 9,440 community submitted regex patterns...
-1
RegExp black list example usage
PCRE (PHP <7.3)
no description available
Submitted by
Vadim Markovtsev
-
9 years ago
-1
Split address line into street name and house number
PCRE (PHP <7.3)
This regular expression splits an address line like for example "1117 Franklin Blvd" into the street name and house number. It also supports addresses where street name and house number are the other way around (e.g. "Mustermannstr. 1"). Furthermore, this regular expression also supports address li...
Submitted by
Andre Wisplinghoff
-
9 years ago
-1
website
PCRE (PHP <7.3)
If needed to test entered website
Submitted by
Max Shishkov
-
9 years ago
-1
Integers and Decimals
PCRE (PHP <7.3)
Matches integers and decimals with or without thousands grouping.
Submitted by
Franz Alex Gaisie-Essifie
-
9 years ago
-1
IP address regex of IPV4
PCRE (PHP <7.3)
The given regex matches the IPV4 address of given ip address string.
Submitted by
Ayush
-
9 years ago
-1
Street, City, State|State Code, Zip
PCRE (PHP <7.3)
Matches the following format of US address: Street, City, State|State Code, Zip Example: 765757 North Nevada Avenue, Colorado Springs, CO, 80918
Submitted by
Chandan Kumar Sinha
-
9 years ago
-1
Extract Java Exception Message Field
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-1
index
PCRE (PHP <7.3)
include index.aspx
Submitted by
anonymous
-
9 years ago
-1
Hostname validator
PCRE (PHP <7.3)
Validates the format of IPv4/IPv6 hostnames as well as domain names.
Submitted by
anonymous
-
9 years ago
-1
uah
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-1
JETAIR NL ARRIVAL DATE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
-1
Find comments or commentblocks in Code V1.01
PCRE (PHP <7.3)
Find Comments starting with # or //. Also finds Commentblocks starting with /* and ending with */.
Submitted by
Candyman1332
-
8 years ago
-1
XML matching nodes
PCRE (PHP <7.3)
This regex matches opening and closing tags in XML (including attributes) and is used to "hide" the value of the node.
Submitted by
Marc Fellman
-
8 years ago
-1
HTML Code
PCRE (PHP <7.3)
HTML CODE given by (hex number   OR number   OR name )
Submitted by
novy
-
8 years ago
-1
Simple json key-value parser
PCRE (PHP <7.3)
[{"name":"Піксель ТВ","url":"http://st.it-tv.org:4575/?224.1.16.33","type":81,"tsOn":false}]
Submitted by
ReMMeR
-
8 years ago
-1
Names
PCRE (PHP <7.3)
Just checks for two capitalized words separated by a string
Submitted by
anonymous
-
8 years ago
-1
ISO 8601 datetime for Forecast.io API
PCRE (PHP <7.3)
Should match ISO 8601 datetime for Forecast.io API: [YYYY]-[MM]-[DD]T[HH]:[MM]:[SS] with an optional time zone formatted as Z for GMT time or {+,-}HH (with or without separating colon) for an offset
Submitted by
Clifford Paulick
-
8 years ago
-1
parsing splunk tacacs with regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
-1
Capture a tagged Number given in quotes within a free text
PCRE (PHP <7.3)
PN"+)["]
Submitted by
OS
-
8 years ago
-1
split URL in protokoll, domain, file(with path), parameter and anker
PCRE (PHP <7.3)
split URL in protokoll, domain, file(with path), parameter and anker
Submitted by
Candyman
-
8 years ago
1
...
6
7
8
9
10
...
472
Matching balanced parens, brackets, and braces
6
Regular Expression
PCRE (PHP <7.3)
/
#
match
a
body
pattern
alone
on
a
line
^
\g<body>
$
#
we'll
use
(?<name>...){0}
to
define
the
pattern
\g<name>
#
without
having
to
match
the
pattern
at
the
current
position
#
a
body
pattern
matches
(?<body>
#
a
sequence
of
(?:
[^
\[\]
{}()
\n
]
#
non-delimiters
|
\g<parens>
#
parenthesized
pattern
|
\g<square_brackets>
#
bracketed
pattern
|
\g<curly_braces>
#
braced
pattern
)*
){0}
#
a
parenthesized
pattern
matches
(?<parens>
\(
#
an
open
paren
\g<body>
#
a
valid
body
\)
#
a
close
paren
){0}
#
a
bracketed
pattern
matches
(?<square_brackets>
\[
#
an
open
square
bracket
\g<body>
#
a
valid
body
\]
#
a
close
square
bracket
){0}
#
a
braced
pattern
matches
(?<curly_braces>
\{
#
an
open
curly
brace
\g<body>
#
a
valid
body
\}
#
a
close
curly
brace
){0}
/
gmx
Open regex in editor
Description
no description available
Submitted by
Noah Luck Easterly
-
11 years ago