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...
8
Sentence grabber /w extra check
PCRE (PHP <7.3)
Grabs sentences including terms like: e.g. z.b. Figs.These get caught in 1st capturing group. Problem: how to only accept matching sentences which contain pattern \b\d+[a-z]{0,2}\b?
Submitted by
light0
-
10 years ago
1
Sentence matching
PCRE (PHP <7.3)
Match sentences ignore e.g. Fig. z.b. etc
Submitted by
anonymous
-
10 years ago
1
Try ths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
0
easy Email Detection
PCRE (PHP <7.3)
easy Email Detection
Submitted by
Max Mustermann
-
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
3
split URL into location-resource-params
PCRE (PHP <7.3)
Extract resource location, name and query parameters from a URL
Submitted by
cebence
-
10 years ago
0
Leaflet tag ID matcher
PCRE (PHP <7.3)
Regex (to be) used to identify ID of the tag that loaded Leaflet (or Mapbox).
Submitted by
cebence
-
10 years ago
1
LeafletJS filename matcher
PCRE (PHP <7.3)
Regex used to identify location, i.e. URL of the tag that loaded Leaflet (or Mapbox).
Submitted by
cebence
-
10 years ago
2
Search abbreviations
PCRE (PHP <7.3)
This reges searches all abbreviations of command "var|iable" in multiline script
Submitted by
ibes
-
10 years ago
-2
Sample
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
6
reg Ex number range check
PCRE (PHP <7.3)
Hi, I am trying to get a reg ex that will test a number range and also allow european number convention like , for decimal point. I have this one for range check - ^(4-9{3}|1-9{4,5}|12{6}|30-4{5}|3500000)$ and I have this one for allow comma ^\s?([\d\.]+(\,\d{1,2})?|\,\d{1,2})\s$ but I need a combin...
Submitted by
TimJ
-
10 years ago
2
PHP file path with wrappers
PCRE (PHP <7.3)
Breaks file path up into wrappers, root, and path components. Understands both Windows (DOS) and Unix style paths. Wrappers and path components can be farther processed in code. Path component should support any visible Unicode character but not things like VT, HT or any other non-printing character...
Submitted by
Dragonaire
-
10 years ago
1
Repeated phrases in one
PCRE (PHP <7.3)
no description available
Submitted by
paconaranjo
-
10 years ago
2
Repetitions
PCRE (PHP <7.3)
More than three words repeated in 3.
Submitted by
paconaranjo
-
10 years ago
-3
British Postcode Check
PCRE (PHP <7.3)
no description available
Submitted by
guest
-
10 years ago
-3
british postcode check
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
some shit
PCRE (PHP <7.3)
find all js link on page source
Submitted by
hobot
-
10 years ago
4
REGEX to parse IIS7 Log File into FluentD
PCRE (PHP <7.3)
This regex parses the entire line of the IIS log files (without detail on the AgentID) for usage into FluentD. Q&C - juan.carniglia@gmail.com
Submitted by
Juan Carniglia
-
10 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
-
10 years ago
1
...
471
472
473
474
475
...
481
Check SQL Insert Into
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
\(
\d
+
,
\d
+
,'
[
\d\w
]
+
',
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
\)
)
(
,
(
\(
\d
+
,
\d
+
,'
[
\d\w
]
+
',
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
\)
)
|
,{,1}
)*
$
/
gms
Open regex in editor
Description
no description available
Submitted by
MelRight
-
10 years ago