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 5,720 community submitted regex patterns...
2
test
Python
no description available
Submitted by
anonymous
-
8 years ago
2
problem for homework
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
kasd; fk.!@#$%^&*()*()%^&*()_
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
Href parse
ECMAScript (JavaScript)
matches href, title, innerhtml
Submitted by
chrysls
-
8 years ago
2
Regex for Chemical Compounds
Python
no description available
Submitted by
Haiming Zhao
-
8 years ago
2
Remove XSS
ECMAScript (JavaScript)
no description available
Submitted by
Harish Thakur
-
8 years ago
2
String Interpolation
ECMAScript (JavaScript)
String Interpolation. Works Like Angular
Submitted by
Aykut Alpgiray Ateş
-
8 years ago
2
SSN
ECMAScript (JavaScript)
allow nine digits only
Submitted by
anonymous
-
8 years ago
2
Bible verse, biblical string in text
ECMAScript (JavaScript)
Matches biblical strings in text. Two capture groups are used - one for the books name and another for the passages of the same book. RegEx is long because it is strict!!! If you want to also match books names without specified chapter and verses use: /((?:[1234]\s?)?[a-zа-я]+)(\s?\d+(?::(?:\d+[—–-]...
Submitted by
Desislavsd
-
8 years ago
2
Title Casing
ECMAScript (JavaScript)
for use in function to title case a string; function cap(str) { return str.replace(/\w\S*/g, function(txt) { return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); }); }
Submitted by
Tamara F
-
8 years ago
2
get href
ECMAScript (JavaScript)
gets value of href
Submitted by
me
-
8 years ago
2
URL with Port
ECMAScript (JavaScript)
no description available
Submitted by
rkl
-
8 years ago
2
Capture 2 digits after a dash
ECMAScript (JavaScript)
Find all '-' and capture 2 following digits
Submitted by
Marie Imperial
-
8 years ago
2
Search for attributes
Python
A search attribues in a image tag.
Submitted by
Agustín Bouillet
-
8 years ago
2
SASS variables parser
Python
Parse SASS variables returning its variable name and properties.
Submitted by
Agustín Bouillet
-
8 years ago
2
Regular expression for matching parenthesis, two words and comma
ECMAScript (JavaScript)
Regular expression for matching parenthesis, two words and comma
Submitted by
anonymous
-
8 years ago
2
JavaScript RegEx for Version ID
ECMAScript (JavaScript)
This expression is used to attempt to ID version of code.
Submitted by
Henry Rieke
-
8 years ago
2
Select the first word of each paragraph
ECMAScript (JavaScript)
If you need to select only the firs complete word for each paragraph.
Submitted by
fmathews28
-
8 years ago
2
汉字匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
exp1
Python
no description available
Submitted by
anonymous
-
8 years ago
1
...
273
274
275
276
277
...
286
Content inside string
0
Regular Expression
Python
r"
(?P<cometes>
[
\'\"
]
)
(
.
*
?
)
(?P=cometes)
$
"
gm
Open regex in editor
Description
Will match any character inside " or '
Submitted by
anonymous
-
a year ago