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
Community Patterns
Search among 15,380 community submitted regex patterns...
1
A HREF validation
ECMAScript (JavaScript)
Checks for well formed tags. Must include mailto, http or https. Must have quoted href. Other attribues before or after href are accepted. Must be ended with
Submitted by
thedotfactor
-
8 years ago
4
JWT Validation
PCRE (PHP <7.3)
Validate a Json Web Token (JWT).
Submitted by
Erik Maas
-
8 years ago
0
Remove Javascript Single Line Comment
PCRE (PHP <7.3)
Yancharuk's code/regex
Submitted by
Yancharuk
-
8 years ago
1
WP URL Rewrites
PCRE (PHP <7.3)
Reviews Pages
Submitted by
John Farrar
-
8 years ago
1
capture ip address/port/path
ECMAScript (JavaScript)
works but capturing groups are not so organized testing string: "https://127.0.0.1:8000/path/subpath/otherpath" "https://127.0.0.1/path/subpath/otherpath" "https://127.0.0.1/12345/subpath/otherpath"
Submitted by
anonymous
-
8 years ago
1
company name_adr1_adr2
PCRE (PHP <7.3)
CompanyName Address1 Address2
Submitted by
SFR
-
8 years ago
1
extract word from string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
word before :
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
HTML comments
PCRE (PHP <7.3)
Groups HTML comments that are between .
Submitted by
Greaka
-
8 years ago
1
WastefulInterpolation
PCRE (PHP <7.3)
Finds interpolated strings in scala code that do not contain any variables.
Submitted by
Sascha Kolberg
-
8 years ago
1
eE5iG4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Simple telephone regex
PCRE (PHP <7.3)
Includes simple country and city code, regex will only work for 7 digit telephone numbers in following formats: +xxxxxxxxxx +x(xxx)xxxxxx +xxx(xxx)xxx-xx-xx
Submitted by
Jacob
-
8 years ago
1
sY6vB5
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
float-number
PCRE (PHP <7.3)
no description available
Submitted by
ricky
-
8 years ago
0
Date formatting
ECMAScript (JavaScript)
This catches a few formats for dates, including the year, and seperates as much as I think at the moment is possible to make it easy to manipulate the needed data points in the expression
Submitted by
Luis Perez
-
8 years ago
3
TV Series filename parsing
PCRE (PHP <7.3)
Get TV Series name, season and episode numbers.
Submitted by
anonymous
-
8 years ago
9
Letters, numbers and blank space
PCRE (PHP <7.3)
The following regular expression matches only letter a-z A-Z numbers 0-9 and a blank space for a given string.
Submitted by
Jordan Raychev
-
8 years ago
0
Credit Card Validator
PCRE (PHP <7.3)
For Visa, Mastercard, Discover, and AMEX
Submitted by
David Avellan
-
8 years ago
1
Valid Date or N/A
PCRE (PHP <7.3)
Validates date or allows "n/a" input and variations
Submitted by
David Avellan
-
8 years ago
1
Codice Fiscale (Tax Code)
ECMAScript (JavaScript)
Verify your tax code (Codice Fiscale in Italian)
Submitted by
Gianluca Mancusi
-
8 years ago
1
...
637
638
639
640
641
...
769
Numbers separated by comma and whitespace
-2
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
0
-
9
]
+
)
(
,
\s
?
[
0
-
9
]
+
)*
,
?
\s
?
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago