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...
2
汉字匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
exp1
Python
no description available
Submitted by
anonymous
-
8 years ago
2
html{ height:100%}body{ margin:0px; padding:0px; height:100%; min-hei
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
validate german zip codes
ECMAScript (JavaScript)
no description available
Submitted by
dopa0002
-
8 years ago
2
Credit Card (Master/Visa)
PCRE (PHP <7.3)
Searches for credit card numbers from MasterCard or visa
Submitted by
SamPad
-
8 years ago
2
Match only first occurrence of word in a line.
PCRE (PHP <7.3)
Match only first occurrence of word in a line.
Submitted by
Vivek Shah
-
8 years ago
2
Apache ErrorLog Parsing
PCRE (PHP <7.3)
Parse Apache Error Log Line (in default format). Example: [Wed Jun 01 20:05:21.194671 2016] [core:error] [pid 40699] [client ::1:64519] PHP Parse error: syntax error, unexpected '$t' (T_VARIABLE) in /Projects/trunk/code/php/test.php on line 16
Submitted by
garys
-
8 years ago
2
OnTheJob CSV Export to Excel Tab Delimited Import
ECMAScript (JavaScript)
Lets you rearrange columns of time data exported from the On The Job app to something more useful in Excel as required. Still a work in progress as this gets tweaked for improvement and streamlining.
Submitted by
anonymous
-
8 years ago
2
days_and_weeks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
EclipseKeyword_2
Python
no description available
Submitted by
Rashmin
-
8 years ago
2
Email validation
PCRE (PHP <7.3)
It validates an email address with alias
Submitted by
anonymous
-
8 years ago
2
AliasMatch
Python
no description available
Submitted by
anonymous
-
8 years ago
2
Find PHP object variables
Python
Find PHP object variables, and replace them with (array)brackets.
Submitted by
The Milkman
-
8 years ago
2
Adress regex
Python
no description available
Submitted by
Ali
-
8 years ago
2
Date of Birth
PCRE (PHP <7.3)
with Leap Year support (dd/MM/yyyy)
Submitted by
gdZeus (uploaded by limker)
-
8 years ago
2
8 Digits Password
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
new anchor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Match directory path
PCRE (PHP <7.3)
match with or without prevailing/trailing slashes
Submitted by
@zakiaziz
-
8 years ago
2
httplinkresolver
PCRE (PHP <7.3)
get special tag contains html link
Submitted by
okeskiner
-
8 years ago
2
Remove multiple white spaces between words
PCRE (PHP <7.3)
Remove multiple white spaces between words and replace it with the char of your choosing.
Submitted by
binary_fm
-
8 years ago
1
...
29
30
31
32
33
...
900
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
\b
|
\b
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
:
){7}
[
A
-
Fa
-
f0
-
9
]
{1,4}
\b
|
\b
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
:
){0,6}
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
)?
::
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
:
){0,5}
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
)?
/
gm
Open regex in editor
Description
Regex pattern detection for IPv4 addresses and IPv6 addresses in zero compression format.
Submitted by
Lewis Wigmore
-
10 months ago
(Last modified 10 months ago)