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 11,980 community submitted regex patterns...
-3
retrieve hostname without subdomain
PCRE (PHP <7.3)
no description available
Submitted by
Diego Zuluaga
-
9 years ago
-1
Simple replacing. Replaced first folder in path to file.
PCRE (PHP <7.3)
Used with Java regexp. F.e. you can use replaceAll("regexp", "filePath").
Submitted by
E.ch.
-
11 years ago
-1
Match inside square brackets without brackets
PCRE (PHP <7.3)
no description available
Submitted by
DanSkeel
-
10 years ago
-1
RegExp black list example usage
PCRE (PHP <7.3)
no description available
Submitted by
Vadim Markovtsev
-
9 years ago
-1
website
PCRE (PHP <7.3)
If needed to test entered website
Submitted by
Max Shishkov
-
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
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
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
-
9 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
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
Regex to find begin and end of a HTML tag with a certain class
PCRE (PHP <7.3)
The regex finds for example the random text sequence, if ohne single quotes ar used. The td itself may vary (td, div, span, p and so on), the provided class ist the item searched vor.
Submitted by
xm318
-
8 years ago
-1
rtrtr
Golang
gtgtg
Submitted by
anonymous
-
3 years ago
-1
T
PCRE2 (PHP >=7.3)
T
Submitted by
me
-
3 years ago
-1
Discord name with both old and new name support
PCRE2 (PHP >=7.3)
This discord regex supports both the new and the old version of discord names. Old: NAME#[0001-9999] Between 2 and 32 characters....
Submitted by
Fy17
-
a year ago
-2
Date time
PCRE (PHP <7.3)
no description available
Submitted by
Mr.Neutro
-
11 years ago
-2
Russian mobile number normilizer (dumb)
PCRE (PHP <7.3)
no description available
Submitted by
fullpipe
-
11 years ago
-2
Get text between quotes (ignore escaped ones)
PCRE (PHP <7.3)
http://stackoverflow.com/a/171499/1519058
Submitted by
Enissay
-
10 years ago
1
...
231
232
233
234
235
...
599
redirect old slugs to new
0
Regular Expression
PCRE2 (PHP >=7.3)
#
^
/blog/
(
[
a
-
zA
-
Z
]
{1}
[
a
-
zA
-
Z0
-
9_/-
]
+
)
#
gm
Open regex in editor
Description
redirect old slugs to new
Submitted by
anonymous
-
a year ago