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. Click
here
to read more.
Community Patterns
Search among 17,480 community submitted regex patterns...
1
Swap key and value in JavaScript object
PCRE (PHP <7.3)
This will allow you to swap key and value in a JavaScript object. So { language: "romanian" } will become { romanian: "language" }
Submitted by
Victor
-
9 years ago
1
FB Grops
Python
no description available
Submitted by
anonymous
-
9 years ago
1
-> Total_Business_Units -> TBU000 -> TBU200 -> TBU299 -> TBU201 -> TB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URL Segment Matching for rewrites
ECMAScript (JavaScript)
no description available
Submitted by
jim
-
9 years ago
1
keyword with colon and value
PCRE (PHP <7.3)
keyword : value
Submitted by
anonymous
-
9 years ago
1
kosta
PCRE (PHP <7.3)
kosta
Submitted by
kosta
-
9 years ago
0
AAA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
user-agent tester
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
extract file name from URL
PCRE (PHP <7.3)
extract file name from URL
Submitted by
m4r35
-
9 years ago
0
select div like things
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
tasdf
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Sass variable assignation
Python
find every Sass variabile assignation
Submitted by
Giorgia Bonini
-
9 years ago
1
\d{4}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|30|31)T([01]\d|2[0-3])[0-5]\d[0-5]
ECMAScript (JavaScript)
yyyymmddThhmmss
Submitted by
suman
-
9 years ago
1
sourcetype
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
To find all the text in a paragraph ignoring numeric and special chare
PCRE (PHP <7.3)
no description available
Submitted by
srinath
-
9 years ago
1
Numeric input allow commas and decimal point
PCRE (PHP <7.3)
Match numeric input that may or may not include commas and/or decimal point.
Submitted by
anonymous
-
9 years ago
1
JS Regex to get full filename from url.
PCRE (PHP <7.3)
JS Regex to get full filename from url even if the filename contains "-".
Submitted by
Vivek Shah
-
9 years ago
1
uri validate with a prefix
ECMAScript (JavaScript)
no description available
Submitted by
Roger Wyss
-
9 years ago
1
at-mention
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
(Last modified 9 years ago)
-2
adsf
Python
adfadfad
Submitted by
anonymous
-
9 years ago
1
...
753
754
755
756
757
...
874
Microsites
0
Regular Expression
PCRE (PHP <7.3)
/
(?i)
^.
*
\.
(
.
*
\.
[
a
-
z
]
{0,3}
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago