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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 6,020 community submitted regex patterns...
2
Journalctl
PCRE2 (PHP >=7.3)
This was build on gentoo with english_ca.utf8 IIRC. Might not work for other distros... or locales supports -as the delimiter of hostname suffixing/prefixing
Submitted by
Wolf1098
-
9 days ago
2
Parse Excel CSV data
PCRE2 (PHP >=7.3)
This is the best regex I found that was able to correctly parse cells containing multiple lines (hard line breaks). Low number of steps with sufficient speed, and it doesn't require /x option either. Source: https://gist.github.com/awwsmm/886ac0ce0cef517ad7092915f708175f
Submitted by
thdoan
-
8 days ago
(Last modified 8 days ago)
0
Name
ECMAScript (JavaScript)
Simple name matching Matches english names only, you may add international characters to list of characters.
Submitted by
Ehsan
-
9 years ago
3
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
po box
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
3
Simple math regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
US Zip Code
ECMAScript (JavaScript)
This pattern matches the US Postal Code format and captures the seperate parts; basic and +4.
Submitted by
anonymous
-
9 years ago
3
mm/dd/yyyy Date
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
10 years ago
3
Italian VAT (IVA)
ECMAScript (JavaScript)
Italian VAT
Submitted by
Italo
-
9 years ago
3
Social Security Number (SSN)
ECMAScript (JavaScript)
tests for valid social security numbers according to the social security administration. more specifically: -disallows a group to have all 0s -disallows first group to have all 6s -disallows a ssn to begin with 9 note that this does not test for issued ssn's. that would be impossible to implement h...
Submitted by
noxToken
-
9 years ago
3
time format HH:mm
ECMAScript (JavaScript)
validates strings in time format HH:mm with hour in 24h format. only accepts up to 23:59
Submitted by
Kelps Leite de Sousa
-
9 years ago
(Last modified 10 months ago)
3
javascript template replacement
ECMAScript (JavaScript)
no description available
Submitted by
akamaozu
-
10 years ago
3
@media query tokenizer
ECMAScript (JavaScript)
Separates media query into rule and content
Submitted by
Stephan --> CTS_AE
-
9 years ago
3
IPv4 validation
ECMAScript (JavaScript)
validate an IP v4
Submitted by
harimambura
-
8 years ago
3
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
3
HTML image tag src
ECMAScript (JavaScript)
Capture src attribute of HTML image tags
Submitted by
Simon Altschuler
-
11 years ago
2
Replace \n by <br />
ECMAScript (JavaScript)
Replace non-ending string \n by the HTML tag
Submitted by
anonymous
-
10 years ago
3
Extract asp label
ECMAScript (JavaScript)
I am trying to extract the asp:label syntax using Regex but I am getting some error can some one help me
Submitted by
anonymous
-
10 years ago
3
Outside Quotes
ECMAScript (JavaScript)
match any string outside of single or double quotes
Submitted by
anonymous
-
10 years ago
3
TEST
ECMAScript (JavaScript)
negation
Submitted by
anonymous
-
9 years ago
1
...
293
294
295
296
297
...
301
MAC address
5
Regular Expression
ECMAScript (JavaScript)
/
(
(?:
[
a
-
zA
-
Z0
-
9
]
{2}
[
:-
]
){5}
[
a
-
zA
-
Z0
-
9
]
{2}
)
/
Open regex in editor
Description
a mac address separated by dashes or colons.
Submitted by
anonymous
-
9 years ago