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
Float Representations
PCRE (PHP <7.3)
no description available
Submitted by
S-YOU
-
9 years ago
0
Credit Card Validator
PCRE (PHP <7.3)
For Visa, Mastercard, Discover, and AMEX
Submitted by
David Avellan
-
9 years ago
0
Date formatting
ECMAScript (JavaScript)
This catches a few formats for dates, including the year, and seperates as much as I think at the moment is possible to make it easy to manipulate the needed data points in the expression
Submitted by
Luis Perez
-
9 years ago
0
Remove Javascript Single Line Comment
PCRE (PHP <7.3)
Yancharuk's code/regex
Submitted by
Yancharuk
-
9 years ago
0
Minify css selectors
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Yealink XML Phonebook entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Yealink XML Phone book entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
subdomain rewrite
ECMAScript (JavaScript)
no description available
Submitted by
mackenzie starr
-
9 years ago
0
Invoice Number
ECMAScript (JavaScript)
no description available
Submitted by
Sebastian Proske
-
9 years ago
0
Telephone number with space
PCRE (PHP <7.3)
no description available
Submitted by
rafanto
-
9 years ago
0
Split HTML string
ECMAScript (JavaScript)
Extracts HTML tags, HTML entities, alphanumeric words, and the rest.
Submitted by
Azmizar
-
9 years ago
0
Indian Phone Numbers
PCRE (PHP <7.3)
Can match all indian 10 digit mobile numbers (with or without country code,braces or prefixed 0)
Submitted by
Harshvardhan Malpani
-
9 years ago
0
buen
PCRE (PHP <7.3)
Name:Jose Luis Torres Email:ptapia1977@yahoo.com Phone:7739889785 Username:trabajando CreditCard:4190025858706384 Expiration:10/14...
Submitted by
anonymous
-
9 years ago
0
fortigate syslog
PCRE (PHP <7.3)
parse the log line generated from fortigate 60B
Submitted by
ViKing
-
9 years ago
0
deficient exhibited gmk
PCRE (PHP <7.3)
no description available
Submitted by
cu
-
9 years ago
0
Extract string from translate function
PCRE (PHP <7.3)
Extract first string parameter from zend view translate helper method
Submitted by
anonymous
-
9 years ago
0
google.com
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Match HTML Tag Contents
PCRE (PHP <7.3)
Capture group one is the tag's name, capture group two is the tag's contents.
Submitted by
anonymous
-
9 years ago
0
splunk config stanza regex
PCRE (PHP <7.3)
Pull stanzas from splunk .conf files
Submitted by
keith muggleton
-
9 years ago
0
Website
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
553
554
555
556
557
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?<=
\n
|
^
|
\.
|
\/
)
[
\w
\-
]
+
\.
[
\w
\-
]
+
(?=
\n
|
\/
|
$
)
/
g
Open regex in editor
Description
a
Submitted by
a
-
9 years ago