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...
2
exp1
Python
no description available
Submitted by
anonymous
-
9 years ago
1
URL-http(s)
PCRE (PHP <7.3)
Tests for valid http or https protocol URL. *2 groups- one for protocol,domain, and any subdomains; and one for path, query, params, and fragments(if any. The following WILL match: http://foo.com/blah_blah http://foo.com/blah_blah/...
Submitted by
Brennan
-
9 years ago
1
html image tags
Python
no description available
Submitted by
Thien Ho
-
9 years ago
2
html{ height:100%}body{ margin:0px; padding:0px; height:100%; min-hei
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Integers
ECMAScript (JavaScript)
Positive or negative. 0 is allowed but may not be a leading digit.
Submitted by
anonymous
-
9 years ago
2
validate german zip codes
ECMAScript (JavaScript)
no description available
Submitted by
dopa0002
-
9 years ago
0
Substring Matching Word, Hyphen, Underscores and Digits
PCRE (PHP <7.3)
Matches customer portion of call detail records found in the fields dcontext, lastdata, and usefield of an Asterisk CDR table. Additional processing required to get fully clean values.
Submitted by
lindstrom
-
9 years ago
2
Credit Card (Master/Visa)
PCRE (PHP <7.3)
Searches for credit card numbers from MasterCard or visa
Submitted by
SamPad
-
9 years ago
2
Match only first occurrence of word in a line.
PCRE (PHP <7.3)
Match only first occurrence of word in a line.
Submitted by
Vivek Shah
-
9 years ago
1
username
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Apache ErrorLog Parsing
PCRE (PHP <7.3)
Parse Apache Error Log Line (in default format). Example: [Wed Jun 01 20:05:21.194671 2016] [core:error] [pid 40699] [client ::1:64519] PHP Parse error: syntax error, unexpected '$t' (T_VARIABLE) in /Projects/trunk/code/php/test.php on line 16
Submitted by
garys
-
9 years ago
1
Extract domain from URL
ECMAScript (JavaScript)
Extract the domain out of an url
Submitted by
anubhava
-
9 years ago
1
xregexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Exclude filename path
ECMAScript (JavaScript)
Regular expression to exclude a filename path.
Submitted by
JimiC
-
9 years ago
2
OnTheJob CSV Export to Excel Tab Delimited Import
ECMAScript (JavaScript)
Lets you rearrange columns of time data exported from the On The Job app to something more useful in Excel as required. Still a work in progress as this gets tweaked for improvement and streamlining.
Submitted by
anonymous
-
9 years ago
2
days_and_weeks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
EclipseKeyword_2
Python
no description available
Submitted by
Rashmin
-
9 years ago
1
Get the hash of an URL
ECMAScript (JavaScript)
This ER is nice to get a hash from URL, I used today to pass the name of an bootstrap TAB and set the focus when the page loads. I did it using the Replace of JavaScript.
Submitted by
Marcelo Sabadini
-
9 years ago
1
Singapore and Malaysia Mobile numbers
PCRE (PHP <7.3)
Singapore and Malaysia Mobile numbers
Submitted by
Harsh Gupta
-
9 years ago
2
Email validation
PCRE (PHP <7.3)
It validates an email address with alias
Submitted by
anonymous
-
9 years ago
1
...
65
66
67
68
69
...
902
Community Library Entry
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
-
11 years ago