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 18,000 community submitted regex patterns...
1
Two digit search.
Python
Trying to understand the two digit lookup.
Submitted by
mburke05
-
9 years ago
1
Isralie Phone Number Validator
PCRE (PHP <7.3)
Validates Israeli phone numbers. Accounts for the presence/absence of the 972 country code (with or without the plus sign or parentheses), and the proper formatting of area codes based on the presence/absence of the country code. Allows subdivision using spaces, dashes, periods, or no subdivision.
Submitted by
Michael C.
-
9 years ago
1
Check for missing closing bracket
PCRE (PHP <7.3)
no description available
Submitted by
Bastin Geerts
-
9 years ago
1
reprocess
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ISIS Checking
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Время
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Telephone number
PCRE (PHP <7.3)
Use for Ukraine cities telephon number (not mobile). Example: 0442565656 (044)1565656 (05656)156-56-56 156-56-56
Submitted by
anonymous
-
9 years ago
1
french phone number
PCRE (PHP <7.3)
french phone number
Submitted by
lolo64
-
9 years ago
1
Spring boot log parser
PCRE (PHP <7.3)
no description available
Submitted by
geowarin
-
9 years ago
1
SafeStep Thank You
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Username Validation
Python
username is 4-32 characters long no _,- or . at the beginning no _ or _. or . or .. or .- or _- inside no _,- or . at the end ^(?=.{4,32}$)(?![.-])(?!.*[.]{2})[a-zA-Z0-9.-]+(?<![.])$...
Submitted by
Rajesh Jayaswal
-
9 years ago
1
Quoted string, single scape
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
remove ordinals
PCRE (PHP <7.3)
a robust pattern to remove ordinal suffixes from numbers, eg. '22nd'->'22' supports: singles: 1st, 2nd, 3rd, 4th teens: 11th, 12th, 13th, 14th
Submitted by
missinglink
-
9 years ago
1
US Phone Number
ECMAScript (JavaScript)
The way I like it formatted
Submitted by
@mattbontrager
-
9 years ago
1
csgo knifes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
reg ex for http
ECMAScript (JavaScript)
https
Submitted by
anonymous
-
9 years ago
1
fortigate_60B
PCRE (PHP <7.3)
parse the log line generated by fortigate 60B
Submitted by
ViKing
-
9 years ago
1
ogn-receiver-beacon
PCRE (PHP <7.3)
Parse ogn-flavored aprs messages, here especially receiver beacons. source: https://github.com/svoop/ogn_client-ruby
Submitted by
anonymous
-
9 years ago
1
PassWordValidation
PCRE (PHP <7.3)
To check a password between 5 to 10 characters which contain at least one lowercase letter, one uppercase letter, one numeric digit, and one special character.
Submitted by
RathnaKumar
-
9 years ago
1
char and no without sympols
PCRE (PHP <7.3)
Accept char and integers and not accept for any kind of sympol or spacs
Submitted by
Taha Sayed (Egypt)
-
9 years ago
1
...
661
662
663
664
665
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
[
[:^print:][:cntrl:]\s
]
|
GIF89
.
{0,20}
)*
<
\?
(?:
php
)?
\s
*
(
\$
\w
+
)
[
\s
\=
]
+
\\
[
"'
]
ZXZhbCUyOCUyNyUzRiU
[
\w
]
+
\=\=\\
[
"'
]
;
\s
*
\$
\w
+
[
\s
\=
]
+
\\
[
"'
]
P8v8EIsDAEOiuwNDEdcNDM
[
\w
\/\+
]
+
HDwYLyavXa9zOn49ntAmEA
\\
[
"'
]
;
\s
*
eval
\(
htmlspecialchars_decode
\(
urldecode
\(
base64_decode
\(
\1
[
\)
]
+
;
\s
*
exit
[
[:punct:]\s
]
+
$
/
gis
Open regex in editor
Description
keefe enoded clean
Submitted by
anonymous
-
5 years ago