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 9,640 community submitted regex patterns...
1
PE Filename Test
PCRE (PHP <7.3)
Blythedale Performance Evaluation Regex to check the Uploaded Filename
Submitted by
Vinod Jacob
-
9 years ago
0
Testing (delete)
PCRE (PHP <7.3)
Testing (delete)
Submitted by
Testing (delete)
-
9 years ago
1
Split String using Custom Delimiter
PCRE (PHP <7.3)
This example uses colon (:)
Submitted by
anonymous
-
9 years ago
0
/../ directory path cleaner
PCRE (PHP <7.3)
Replaces preceeding directory with / when ../ is used.
Submitted by
Mr.Deek
-
9 years ago
1
Issues
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
tm1_instance
PCRE (PHP <7.3)
for windows
Submitted by
anonymous
-
9 years ago
1
Split String with Groups
PCRE (PHP <7.3)
Credits to TessellatingHeckler on StackOverview.com http://stackoverflow.com/questions/34235484/how-to-add-groups-to-capture-words-from-regex-split-pattern?noredirect=1#comment56214669_34235484
Submitted by
JMichaelTX
-
9 years ago
0
Validate Password strength
PCRE (PHP <7.3)
(?=.*[A-Z]) # must contain 1 uppercase letter (?=.*[0-9]) # must contain 1 digit (?!.\n) # must not contain a newline character (?!.*\s) # must not contain any whitespace characters (?=.*[!$#+@%&]) # nust contain one of these symbols .{8,} # match a...
Submitted by
anonymous
-
9 years ago
0
Command line with escape
PCRE (PHP <7.3)
splits into command arguments: spaces split quotes keep spaced texts together \" escapes the quote
Submitted by
Skycoder42
-
9 years ago
0
positive/negative float/integer
PCRE (PHP <7.3)
matches all positive or negative float or integers
Submitted by
Codeloper
-
9 years ago
1
Wikis or Wikipedia
PCRE (PHP <7.3)
Get Wikis or Wikipedia urls. I use it for Stylish extension in Firefox
Submitted by
mlopezcoria
-
9 years ago
1
Catch Directives
PCRE (PHP <7.3)
Catch directive and anything inside {} @widget('x') { test }
Submitted by
John Turingan
-
9 years ago
1
Regx3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Regx5
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
HL7
PCRE (PHP <7.3)
no description available
Submitted by
Brent
-
9 years ago
1
Validation
PCRE (PHP <7.3)
no description available
Submitted by
Robin Venneman
-
9 years ago
1
parse nginx log
PCRE (PHP <7.3)
parse nginx log lines into fields
Submitted by
ViKing
-
9 years ago
0
Nigerian Phone numbers
PCRE (PHP <7.3)
Regex for validating Nigerian phone numbers using all mobile prefixes in the country
Submitted by
Jubril Edu
-
9 years ago
1
SQL LIMIT REMOVE
PCRE (PHP <7.3)
SQL LIMIT REMOVE
Submitted by
Lucas Pinheiro
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
102
103
104
105
106
...
482
Community Library Entry
0
Regular Expression
Golang
`
(
(
(
(?P<Keys>
dword
|
word
|
byte
|
int
)
[
\n\t
]
+
)
(
(?P<Names>
[
a
-
zA
-
Z0
-
9
_
\-\$
]
+
)
)
)
(
(
\[
(?P<Range>
[
a
-
zA
-
Z0
-
9
\t\n
]
+
)
\]
[
\t\n
]
+
)
|
(?P<Pointer>
[
*
\t\n
]
+
)
|)
(
(
=
[
\n\t
]
+
)
(
[
&*"a
-
zA
-
Z0
-
9
]
+
)
)
(
;
)
)
|
(
(
(?P<Others>
int
|
string
|
word
)
[
\t\n
]
+
)
(
[
a
-
zA
-
Z0
-
9
\n\t
]
+
)
(
;
)
)
`
g
Open regex in editor
Description
no description available
Submitted by
cemares
-
7 years ago