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 2,280 community submitted regex patterns...
-2
Email Validation
Python
Full email validation with optional "." "-" "_"
Submitted by
Jakub Stasiak
-
9 years ago
3
iframe src parser
Python
Get iframe src
Submitted by
Sumeet Fefar
-
8 years ago
2
match those lines whose first n chars contains 1+ non numeric
Python
1100582367|SDFDSFDSFDSFDSFDF GBC213WREW|RWEFSDFSDF 1100582377|DSFDSFDSFDSF 2NDG.S.D BIKADSFDSFDSFNO.421 1100582387|SDFSDFSDFDSF
Submitted by
sid
-
8 years ago
2
Port validator
Python
Validates port numbers from 1 to 65535
Submitted by
Agustín Bouillet
-
8 years ago
3
Capture Query Strings
Python
A solution for capture query params.
Submitted by
Rafael Laurindo
-
8 years ago
3
Email
Python
Python
Submitted by
anonymous
-
8 years ago
3
Thorough UK Postcode Validator with In/Out code capture groups
Python
A more thorough UK postcode validator tested against all UK postcodes on a regular basis, but excluding the special GIRO postcode case out of personal preference. Additionally has capture groups for the In-code and Out-code sections. Requires case insensitive matching.
Submitted by
Chris G
-
8 years ago
3
Hostname validation
Golang
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
7 years ago
3
Extract URL parts only named capturing groups
Golang
Extract URL parts only named capturing groups
Submitted by
dixanms
-
2 years ago
2
xbmc - videodevil - chaturbate - test
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Remove litteral \n
Python
This regex remove \n like litteral string not a newline
Submitted by
Nkio
-
10 years ago
-1
for checking code number 1111/111111111
Python
no description available
Submitted by
dejv
-
10 years ago
1
Captures entire log line that meet the criteria
Python
If you need to grab an entire log line based on criteria (error,warning,notice,info,debug), use this Regexp and change the parameters accordingly.
Submitted by
Neill Lima
-
10 years ago
1
this
Python
stinks
Submitted by
anonymous
-
10 years ago
1
Double dollar delimited centred LaTeX equation
Python
Find all instances of a double dollar delimited centred LaTeX equation, for use with e.g. KaTeX
Submitted by
drewsberry
-
10 years ago
2
log trillian
Python
no description available
Submitted by
NTP-[SADAS]
-
10 years ago
-2
link
Python
no description available
Submitted by
NTP-[SADAS]
-
10 years ago
1
nginx log parser
Python
separate nginx log into database table-style fields
Submitted by
wgzhao
-
10 years ago
0
test
Python
no description available
Submitted by
anonymous
-
10 years ago
-1
sfafagergfwefe323
Python
no description available
Submitted by
anonymous
-
10 years ago
1
2
3
4
5
6
...
114
Port validator
2
Regular Expression
Python
r"
^
(?P<port>
[
1
-
9
]
{1,4}
|
[
1
-
5
]
[
\d
]
{1,4}
|
6
[
0
-
5
]
{2}
[
0
-
3
]
[
0
-
5
]
)
$
"
mg
Open regex in editor
Description
Validates port numbers from 1 to 65535
Submitted by
Agustín Bouillet
-
8 years ago