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...
0
C# Region killer
PCRE (PHP <7.3)
This regex matches properly spaced C# region statements, and can be used to remove them in an existing codebase.
Submitted by
Jax
-
8 years ago
0
TAB Text Splitter
PCRE (PHP <7.3)
Splits text with TABS into separate Capture zones.
Submitted by
anonymous
-
8 years ago
0
TAB £ symbol searching from the end
PCRE (PHP <7.3)
TAB £ symbol searching from the end
Submitted by
anonymous
-
8 years ago
0
VLAN_SUBINTERFACE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
aHex color
ECMAScript (JavaScript)
no description available
Submitted by
@hachesilva
-
8 years ago
0
Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Time regex HH:MM:SS
PCRE (PHP <7.3)
no description available
Submitted by
Panagiotis Plevrakis
-
8 years ago
0
Customer
Golang
no description available
Submitted by
anonymous
-
8 years ago
0
First name last name reversal
PCRE (PHP <7.3)
Format name listing by putting last name first
Submitted by
Panagiotis Plevrakis
-
8 years ago
0
Email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
USD
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Array-like string
ECMAScript (JavaScript)
Matches strings that are formatted as arrays. The following will match: [ 3.4, -600, foo ] ["foo","bar"] [ bar, 1600 ]...
Submitted by
Chris Swithinbank
-
8 years ago
0
image cid
Golang
no description available
Submitted by
anonymous
-
8 years ago
0
Remove CDATA tags
.NET 7.0 (C#)
no description available
Submitted by
anonymous
-
8 years ago
(Last modified a year ago)
0
Spreadsheet sheet reference
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Palindromes
PCRE (PHP <7.3)
How to detect palindromes up to 12 characters in length. I chose 12 because currently, the longest palindrome that is an actual word is "tattarrattat". This was a fun exercise because someone said pcre can't detect palindromes. Check and mate, my good sir.
Submitted by
Damian Torres
-
8 years ago
0
string valid contains html
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
iranian cell-number pattern
PCRE (PHP <7.3)
Iranian cell phone number pattern to being used in regular expression this work for iranian operator (irancell , Taliya, MCI,RighTel) Irancell and Taliya : 093 , MCI : 091 , RighTel : 092 cheers
Submitted by
nasserFet
-
7 years ago
0
logs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
logs
PCRE (PHP <7.3)
2017-06-29\s06:50:(\d+).?([A-Z]+).?(?:\[(.*?+))
Submitted by
anonymous
-
7 years ago
1
...
422
423
424
425
426
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
"
*
status:
(
[
0
-
9
]
{1,3}
)
,
body:{"code":
[
0
-
9
]
{3}
,"message":
(
[
0
-
9a
-
z":
\/\\
\s
-
_.,
]
*
?
)
,"errorStack"
.
*
$
/
gi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago