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,000 community submitted regex patterns...
1
tasdf
Python
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
1
user-agent tester
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
kosta
PCRE (PHP <7.3)
kosta
Submitted by
kosta
-
9 years ago
1
keyword with colon and value
PCRE (PHP <7.3)
keyword : value
Submitted by
anonymous
-
9 years ago
1
URL Segment Matching for rewrites
ECMAScript (JavaScript)
no description available
Submitted by
jim
-
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
FB Grops
Python
no description available
Submitted by
anonymous
-
9 years ago
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
episode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
this is a test
Submitted by
anonymous
-
9 years ago
1
Grab valid LAN IPs
PCRE (PHP <7.3)
no description available
Submitted by
jchd
-
9 years ago
1
Name validator
PCRE (PHP <7.3)
Validates a first middle and last name with hyphens as a single string
Submitted by
Keith Johnson
-
9 years ago
1
Naming
ECMAScript (JavaScript)
Naming
Submitted by
Matt
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
testscript
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URL Path Validation
PCRE (PHP <7.3)
Validates an url path that must begin with '/' and not contain special characters or repeated '/' [forward slashes]
Submitted by
rochmit10
-
9 years ago
1
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Sign before number
PCRE (PHP <7.3)
no description available
Submitted by
Albion Liçi
-
9 years ago
1
Parse OTP from QR Code
ECMAScript (JavaScript)
This regular expression parses the uri of an one-time password typically masked by a QR Code. The expression supports the core hotp and totp, name, secret and optional counter (for hotp)
Submitted by
Carsten and Craig
-
9 years ago
1
...
116
117
118
119
120
...
900
Community Library Entry
-1
Regular Expression
ECMAScript (JavaScript)
/
(
\s
*
--
.
*
)
(
,
?
)
$
/
gm
Open regex in editor
Description
Utilize " -- " as a Token and strips from the token to the end of the line.
Submitted by
anonymous
-
3 years ago