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 11,820 community submitted regex patterns...
1
price selector
PCRE (PHP <7.3)
Matches any of the prices in the text below: Im asking $15,500 OBO Im asking 15,400$ Im asking 15400$ Im asking $15400 Im asking 15 400$...
Submitted by
chocksy
-
10 years ago
1
I need to escape " in json, issue: if they are already escaped
PCRE (PHP <7.3)
I'm having issues escaping quotes inside json content. I can get the \" to be put in if " is seen, the issue is I don't want that to be done if \" is in the content (as that is already escaped)
Submitted by
Patrick
-
10 years ago
1
Linkedin profile matching regex
PCRE (PHP <7.3)
This a regex for matching linkedin profile URLs
Submitted by
@antespi
-
10 years ago
1
Captures entire log line that meet the criteria
Python
If you need to grab an entire log line based on criteria (error,warning,notice,info,debug), use this Regexp and change the parameters accordingly.
Submitted by
Neill Lima
-
10 years ago
1
this
Python
stinks
Submitted by
anonymous
-
10 years ago
1
Replace Commas Inside Quotes
PCRE (PHP <7.3)
Regex to remove commas within quotes. (Common situtaion in .csv files) Eg: data,"some ""embedded"" stuff,commas,inside,quotes",more Replace String would be something like this:...
Submitted by
Judd
-
10 years ago
1
regular expression - with space
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Trim
PCRE (PHP <7.3)
Popular trim Regular Expression. Matches whitespace characters at the beginning and end of a string. Check out the usage examples in the test string to see how you can implement it into your own code.
Submitted by
Shawn G.
-
10 years ago
1
Match Ice Faces Empty RTF
PCRE (PHP <7.3)
Will match any empty or containing whitespace only Ice Faces Rich Text Input element.
Submitted by
Sam Blumire
-
10 years ago
1
Recursive Search
PCRE (PHP <7.3)
Proof of concept to omit restriction with '' http://stackoverflow.com/questions/15584634/about-php-regexp-for-recursive-pattern?answertab=oldest#tab-top http://stackoverflow.com/questions/25408579/regex-to-match-blocks-inside-blocks
Submitted by
themroc
-
10 years ago
1
C# Regex Class acts odd
PCRE (PHP <7.3)
Based on my understanding of Regex, the string “10†matches the Regex “^([0-9])(\\)$â€. To validate it, I tried the regex and the text “10†on the website and it worked. But when I tried the same with C# code, it failed.Only by adding a "?", making the regex “^([0-9])(\\)?$†makes the...
Submitted by
anonymous
-
10 years ago
1
t
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Double dollar delimited centred LaTeX equation
Python
Find all instances of a double dollar delimited centred LaTeX equation, for use with e.g. KaTeX
Submitted by
drewsberry
-
10 years ago
1
unity3d.com csharp lint regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
nginx log parser
Python
separate nginx log into database table-style fields
Submitted by
wgzhao
-
10 years ago
1
RFC 5322 email validation
PCRE (PHP <7.3)
Unsatisfied with your email validation? Concerned about standards compliance? Worried about that one weird edge case? Want to stress-test your regex engine? This might be the regex for you!
Submitted by
Blake Thomas
-
10 years ago
1
Get version
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Brazilian phone numbers
Python
no description available
Submitted by
rafaelverger
-
10 years ago
1
Date range match
PCRE (PHP <7.3)
This is not my creation, it is from a github repor
Submitted by
Saji N
-
10 years ago
1
url regex
Python
no description available
Submitted by
catwooman
-
10 years ago
1
...
547
548
549
550
551
...
591
New Excel RegEx
0
Regular Expression
PCRE (PHP <7.3)
/
(
(
\[
.
*
\]
)?
(
(
'
(?:
[^
'
]
|
''
)*
'!
)
|
(
[
a
-
zA
-
Z0
-
9_
]
+
!
)
)
)?
(
(
\$
?
[
a
-
z
]
{1,3}
\$
?
[
0
-
9
]
{1,7}
)
(
\:\$
?
[
a
-
z
]
{1,3}
\$
?
[
0
-
9
]
{1,7}
)?
|
\$
?
[
a
-
z
]
{1,3}
\:\$
?
[
a
-
z
]
{1,3}
|
\$
?
[
0
-
9
]
{1,7}
\:\$
?
[
0
-
9
]
{1,7}
)
/
gmi
Open regex in editor
Description
Trying new excel reg ex based off of one from stack overflow with modifications
Submitted by
anonymous
-
4 years ago