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,020 community submitted regex patterns...
4
Currency Formater Accept , & .
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
Mask an email regex
PCRE (PHP <7.3)
Replaces second to last but one characters in email with asterisks (@ and last . are protected): john.travolta@gmail.com > j*a@g**.m
Submitted by
Wiktor Stribiżew
-
9 years ago
4
c#
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
4
replace-last-comma with semicolon
PCRE (PHP <7.3)
replace-last-comma with semicolon similar to http://stackoverflow.com/questions/3829483/how-to-replace-last-occurrence-of-characters-in-a-string-using-javascript
Submitted by
Michael Freidgeim
-
9 years ago
4
Date yyyy/mm/dd
PCRE (PHP <7.3)
Regex following "ISO 8601" without hour : allowing only month 1 to 12, the day of 1 to 31 for the months of 31 days, the months from 1 to 30 for the months of 30 days, the day of 1 to 28 for February, and the day from 1 to 29 for February of leap years
Submitted by
Sara DULMAR
-
9 years ago
4
BEST simple mail regex validator
ECMAScript (JavaScript)
VALIDATE ALL WOLRD MAIL RULES Very simple expression Less than 140 caracters. Validate on SonarQube typescript, javascript, angular rules ...
Submitted by
Ayslan Johnson (ayslanjohnson@gmail.com)
-
7 years ago
7
CSS Import
Python
no description available
Submitted by
anonymous
-
11 years ago
6
Split address line into street name and house number
PCRE (PHP <7.3)
This regular expression splits an address line like for example "1117 Franklin Blvd" into the street name and house number. It also supports addresses where street name and house number are the other way around (e.g. "Mustermannstr. 1"). Furthermore, this regular expression also supports address lin...
Submitted by
Andre Wisplinghoff
-
10 years ago
6
Email with + symbol
ECMAScript (JavaScript)
email that accepts the plus (+) symbol
Submitted by
luckcheese
-
9 years ago
7
simple common lisp tokenizer
ECMAScript (JavaScript)
main symbols and comments are supported
Submitted by
d4rw1n1s7@gmail.com
-
10 years ago
3
SQL select columns
PCRE (PHP <7.3)
no description available
Submitted by
Phan
-
11 years ago
3
Task 2, part 1
PCRE (PHP <7.3)
Finds all source numbers in square brackets
Submitted by
Kovalev Evgeny
-
11 years ago
3
how to match both lines?
Python
f_name may contain spaces, numbers, characters,... so I would go for a but then I couldn't use [...]? anymore to match the second line?
Submitted by
anonymous
-
10 years ago
3
Find URLs in markdown where the lines have been wrapped
Python
no description available
Submitted by
anonymous
-
10 years ago
3
TimezoneOffset
ECMAScript (JavaScript)
parses timezones in the format -08:00 or -8:0
Submitted by
Neha Kadam
-
10 years ago
3
URL with matching categories
PCRE (PHP <7.3)
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Submitted by
fps
-
10 years ago
3
Smart Target Blank
ECMAScript (JavaScript)
Allow you to check if the JavaScript location.pathname is a link required adding a target="_blank".
Submitted by
Bruno Lesieur
-
10 years ago
3
Request mask idea
ECMAScript (JavaScript)
Do you like apis and nodejs as I do?, then this must be for you, have you noticed that all the famous apis have a common functionality? the ability to request partial responses with masks, so if you have a friend list you may want to return only a few fields you know just in case. You will end up re...
Submitted by
Marco Villarreal<erick.slayer.m.v@gmail.com>
-
10 years ago
3
PL Phone number
PCRE (PHP <7.3)
PL Phone number
Submitted by
Dawid
-
10 years ago
3
javascript regex ftp directory list
ECMAScript (JavaScript)
javascript regex ftp directory list
Submitted by
anonymous
-
9 years ago
1
...
886
887
888
889
890
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\d
{5,}
\S
+
)
(?:
-REV
)
|
(
\d
{5,}
)
|
(
\d.
+
)
(?:
-REV
)
.
+
|
(
\b
[
A
-
Za
-
z0
-
9
]
+
-
[
A
-
Za
-
z0
-
9
]
+
-
[
A
-
Za
-
z0
-
9
]
+
\b
)
|
(
\d
{4,}
.\S
+
)
/
gm
Open regex in editor
Description
Parts
Submitted by
anonymous
-
2 years ago