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...
1
javascript variable
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
css all comments
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
1
select stuff of </a> [beta]
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
11 years ago
1
CEF Pipe and Space Delimited Data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Facebook Video ID from link
PCRE (PHP <7.3)
Matches the video id in FB links
Submitted by
Eirenaios
-
11 years ago
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
-
11 years ago
1
Remove italics in less than three letters...
ECMAScript (JavaScript)
Subtitle Edit
Submitted by
paconaranjo
-
11 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
-
11 years ago
1
Signed integer
ECMAScript (JavaScript)
no description available
Submitted by
markus hooge
-
11 years ago
1
Linkedin profile matching regex
PCRE (PHP <7.3)
This a regex for matching linkedin profile URLs
Submitted by
@antespi
-
11 years ago
1
Замена двойных кавычек (внутри кавычек) в названиÑÑ… организаций
ECMAScript (JavaScript)
О кавычках внутри кавычек ЕÑли внутри Ñлов, заключенных в кавычки, вÑтречаютÑÑ Ð´Ñ€ÑƒÐ³Ð¸Ðµ Ñлова, в Ñвою очередь заключенные в кавычки, рекомендуетÑÑ (при уÑловии, что д...
Submitted by
l-luk
-
10 years ago
1
extract JavaScript function name
ECMAScript (JavaScript)
Extracts the name of the outer function. Useful to get the name of a function reference using fn.toString().
Submitted by
Jack A.
-
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
...
53
54
55
56
57
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
[
a
-
zA
-
Z
]
{2}
[
\s
*
]
{0,}
[
0
-
9
]
{2}
[
\s
*
]
{0,}
[
a
-
zA
-
Z
]
{1,}
[
\s
*
]
{0,}
[
0
-
9
\s
]
{22,}
/
Open regex in editor
Description
This matches EU IBAN codes considering spaces here and there
Submitted by
ZioAldo
-
9 years ago
(Last modified a year ago)