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,040 community submitted regex patterns...
-2
regex101
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
URLs
PCRE (PHP <7.3)
split URL in 2 parts
Submitted by
A.L
-
10 years ago
1
LGC regex
PCRE (PHP <7.3)
FIX
Submitted by
anonymous
-
10 years ago
1
LGC regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Any number between 0 and 10 with 0 or 1 decimal places
PCRE (PHP <7.3)
Matches any number between 0 and 10 (inclusive) with 0 or 1 decimal places. Note that .5 will NOT be matched but 0.5 will. Also 10.X will not be matched, but 10 will.
Submitted by
Matt Coubrough
-
10 years ago
1
Subquery
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
5
Two or more whitespace
PCRE (PHP <7.3)
Reeplace all two or more whitespace in string with a single chararter(ej. one whitespace)
Submitted by
Lanxe
-
10 years ago
1
Number Input That Supports Simple Math Expressions
ECMAScript (JavaScript)
RegEx matches: '5', '+5', '-5', '5+5', '-5+5', '+5+5', '5+9+7*-2' RegEx doesn't match: '5+', '5-', '5+9-', 'asdfasf5+5'
Submitted by
David Weitzenfeld
-
10 years ago
-2
html check in spacial case
PCRE (PHP <7.3)
it check the html content with like html tag but not html. somthing this not html content but it has content like html tag.
Submitted by
A. K. Asik
-
10 years ago
0
Find color
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Group variable attributes in a linux path effectively with regex
PCRE (PHP <7.3)
Group variable attributes in a linux path effectively with regex. Here the workspace can be changed and the modulename can change. Case scenario found trying to identyfy the modulename and workspace directory in Jenkins build.
Submitted by
Supratim Samanta
-
10 years ago
1
match url
ECMAScript (JavaScript)
unsplash.com
Submitted by
anonymous
-
10 years ago
1
CVC
ECMAScript (JavaScript)
This will determine that an accurate CVC has been entered
Submitted by
Scott Mebberson
-
10 years ago
0
1
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Find missing or superfluous commas in "For å" constructions.
PCRE (PHP <7.3)
Finds missing commas in "For å ..." constructions according to officially ordained grammar-based comma rules.
Submitted by
Eirik Birkeland
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
facebook post embed code
PCRE (PHP <7.3)
This pattern matches to the facebook post embed codes. It matches on each parts of the whole embed code individualy, and matches on the complete embed code either, but it requires minimum a fb-post div.
Submitted by
kristian tanacs
-
10 years ago
1
facebook post embed code
PCRE (PHP <7.3)
This pattern matches to the facebook post embed codes. It matches on each parts of the whole embed code individualy, and matches on the complete embed code either.
Submitted by
kristian tanacs
-
10 years ago
1
MySQL PHP connection string
PCRE (PHP <7.3)
Capture dbname and host from MySQL PHP connection string
Submitted by
anonymous
-
10 years ago
1
parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
868
869
870
871
872
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
.
+
)
\/
(
.
+
)
$
/
Open regex in editor
Description
split URL in 2 parts
Submitted by
A.L
-
10 years ago