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 11,440 community submitted regex patterns...
1
CSV parsing
PCRE (PHP <7.3)
matches the exact fields of CSV files supports: qouted fields quoted fields containing commas, doubble quoutes, and newlines empty fields empty records arbitrary white space in, and outside quoted fields
Submitted by
Austin
-
9 years ago
1
Non-prod Application Log Regex
PCRE (PHP <7.3)
no description available
Submitted by
Aditya Bindra
-
9 years ago
1
{1-65536}
PCRE (PHP <7.3)
12
Submitted by
anonymous
-
9 years ago
1
validate_invoiceid_with_yy
PCRE (PHP <7.3)
Validate an ivoice number with the last two digit as last 2 year digit
Submitted by
ema
-
9 years ago
1
RGB colors
PCRE (PHP <7.3)
Matches all the RGB colors in the format #RRGGBB and #RGB
Submitted by
Gabriel Hautclocq
-
9 years ago
2
Match <?xml...?>
PCRE (PHP <7.3)
How to match the first line of a xml document
Submitted by
anonymous
-
9 years ago
0
apache log analysis
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Find only ".config" file names
PCRE (PHP <7.3)
Will find lines that end with "/*.config"
Submitted by
Dee
-
9 years ago
1
Safe words and dirty words
PCRE (PHP <7.3)
This regex matches "bob" but does not match "abob", "bobb" or "cbobd" while it does match "cbob" and "bobd". Here "bob" is the dirty word and "abob", "bobb" and "cbobd" are safe phrases
Submitted by
Alex
-
9 years ago
0
extract sql statements from sql profiler trace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Spain mobile phone numbers
PCRE (PHP <7.3)
Matches current mobile telephone numbers in Spain.
Submitted by
Carlos Interactive3g
-
9 years ago
0
Italy mobile phone numbers
PCRE (PHP <7.3)
Matches current mobile phone numbers in Italy
Submitted by
Carlos Interactive3g
-
9 years ago
1
ip address @pexipdemo.com
Python
no description available
Submitted by
anonymous
-
9 years ago
-3
Telephone
PCRE (PHP <7.3)
Find Telephone
Submitted by
Mr.Fail
-
9 years ago
1
Mac-address filtering
PCRE (PHP <7.3)
Trying to capture a mac-address structure
Submitted by
R. van den Hoek
-
9 years ago
1
Recherche email
PCRE (PHP <7.3)
Recherche un email
Submitted by
G Morelle
-
9 years ago
0
symfe - Group with exclusions
PCRE (PHP <7.3)
Select from a pattern a group without some parameters
Submitted by
symfe
-
9 years ago
-3
RegEX for account code starting with 000-
PCRE (PHP <7.3)
no description available
Submitted by
Joe H
-
9 years ago
0
XML 1.0 dateTime values
Python
dateTime type matching regex for XML 1.0
Submitted by
DervishD
-
9 years ago
3
prices in nis
Python
no description available
Submitted by
molaxx
-
9 years ago
1
...
522
523
524
525
526
...
572
Community Library Entry
2
Regular Expression
.NET 7.0 (C#)
@"
^
(
(
\+
?
(
61
\W
?
4
)
)
|
(
04
)
)
\W
?
(
(
[
0
-
9
]
{2}
\W
[
0
-
9
]
{3}
\W
[
0
-
9
]
{3}
)
|
(
[
0
-
9
]
{8}
)
|
(
[
0
-
9
]
{4}
\W
[
0
-
9
]
{4}
)
|
(
[
0
-
9
]
{2}
\W
[
0
-
9
]
{6}
)
)
$
"
Open regex in editor
Description
validates against multiple common formats
Submitted by
anonymous
-
2 years ago