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
Community Patterns
Search among 9,620 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
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
unity3d.com csharp lint regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
-
9 years ago
1
Get version
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 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
-
9 years ago
1
Group variable attributes in a linux path effectively with regex
PCRE (PHP <7.3)
Group variable attributes in a linux path effectively with regex. Here the workspace can be changed and the modulename can change. Case scenario found trying to identyfy the modulename and workspace directory in Jenkins build.
Submitted by
Supratim Samanta
-
9 years ago
1
LGC regex
PCRE (PHP <7.3)
FIX
Submitted by
anonymous
-
9 years ago
1
Phone Number Validation
PCRE (PHP <7.3)
Only Numbers Allowed, Optional (+) for international numbers Min: 10 Max: 14 Optional: +
Submitted by
Menon Kalipurayath (MenonOn.Net)
-
9 years ago
1
Currency amount without currency symbol
PCRE (PHP <7.3)
Matching numbers related to financial amounts. Does not consider the type of currency. Will not match: 34 1.005 33,00...
Submitted by
elgehelge
-
9 years ago
1
Extract elevation from GPX
PCRE (PHP <7.3)
Matches everything except content between and
Submitted by
ViteXikora
-
9 years ago
1
Match mydomain*.mydomain.com
PCRE (PHP <7.3)
no description available
Submitted by
Trappist
-
9 years ago
1
...
29
30
31
32
33
...
481
Syslog RFC 5424
0
Regular Expression
PCRE (PHP <7.3)
/
^
\<
(
[
0
-
9
]
{1,3}
)
\>
(
\d
{0,2}
)
(
\-
|
[
\S
]
+
)
(
\-
|
[
\S
]
{1,255}
)
(
\-
|
[
\S
]
{1,48}
)
(
\-
|
[
\S
]
{1,128}
)
(
\-
|
[
\S
]
{1,32}
)
(
\-
|
\[
[
\S\s
]
+
\]
)
(
[
\S\s
]
+
){0,1}
/
g
Open regex in editor
Description
Simple matcher for syslog RFC 5424
Submitted by
loreii
-
6 years ago