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...
1
Liberal Email Address
ECMAScript (JavaScript)
Very simple & basic. More forgiving, less stringent. Allows anything which looks reasonably valid. Allows one at-symbol. Requires a two part hostname (i.e. abc@localhost is not allowed)
Submitted by
billinghamj
-
10 years ago
2
File filtering by extension
PCRE (PHP <7.3)
You would like to scan a folder containing many files (Example : *.pb, *.pbi, *.pbp and *.pbf) and you are interested only by two type of files (example : *.pb and *.pbi). This expression will match only if extension match (in this case *.pb and *.pbi) otherwise no reaction. Feel free to change file...
Submitted by
StarBootics
-
10 years ago
0
URL to link
PCRE (PHP <7.3)
http://blog.jmsinfo.co/?d=2015/02/16/10/17/49
Submitted by
Mickaƫl S.
-
10 years ago
0
For justin
PCRE (PHP <7.3)
dis is why you match shit lots
Submitted by
anonymous
-
10 years ago
25
Quote Macthing with escape
ECMAScript (JavaScript)
Matches text within quotes (", ') and escapes the charecters.
Submitted by
Vihan Bhargava
-
10 years ago
2
Dotted Decimal IPv4 Adress (for programming languages)
PCRE (PHP <7.3)
Searches for dotted decimal IPv4 Adresses and saves the numbers in match groups.
Submitted by
anonymous
-
10 years ago
1
Email with groups
ECMAScript (JavaScript)
Groups for: Whole email user domain Matches valid emails with numbers, chars, dots and dashes, domains with extensions of 2 or 3 letters.
Submitted by
Ruben Paz
-
10 years ago
3
phone
Python
matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by
miqui
-
10 years ago
1
postfix
Python
get ip identifier, queue name, email domain and status from postfix log
Submitted by
kglod
-
10 years ago
6
Extract style
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
States
Python
States (US) 2 char format, matches: Ga or GA
Submitted by
miqui
-
10 years ago
2
Dim name
PCRE (PHP <7.3)
Gets all variable names
Submitted by
Tyrone Moodley
-
10 years ago
3
white space before punctuations, outside script and code tags
PCRE (PHP <7.3)
white space before punctuations, outside script and code tags
Submitted by
ced
-
10 years ago
1
ReGEX EXPression
ECMAScript (JavaScript)
ReGEX EXPression generating Values but repeating want values should not repeat.
Submitted by
anonymous
-
10 years ago
1
Get path from URL
Python
extract the path from a URL returns one group (if matching) with the path info e.g. http://somedomain.com/some-page/ http://www.domain.com:8080/some-page/ https://www.google.com:8080/some-page/...
Submitted by
luke_aus
-
10 years ago
3
@media query tokenizer
ECMAScript (JavaScript)
Separates media query into rule and content
Submitted by
Stephan --> CTS_AE
-
10 years ago
1
french phone number (intl format)
PCRE (PHP <7.3)
little matcher for french phone number in international format (example: +33231348228)
Submitted by
Nolwennig
-
10 years ago
0
french phone number (locale format)
PCRE (PHP <7.3)
little matcher for french phone number in locale format (example: 0231348228)
Submitted by
Nolwennig
-
10 years ago
1
Quote Parsing
PCRE (PHP <7.3)
Parses quotes and can be escaped
Submitted by
Vihan B.
-
10 years ago
0
Password Policy
ECMAScript (JavaScript)
Based on the below password policy need a regex in java/javascript --Maximum Occurrence (Number of repeated Characters allowed): 1 --Minimum Alpha: 1 --Minimum Embedded Numeric: 1 --Minimum Length: 8...
Submitted by
Kannan SB
-
10 years ago
1
...
850
851
852
853
854
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
\s
|
^
)
(
\d
(
,
|
\.
){0,1}
)+
(
\s
*
)
(
dollar
|
\$
|
dollars
)
(
\s
|
,
|
\.
|
$
)
/
mg
Open regex in editor
Description
Regex range price
Submitted by
anonymous
-
2 years ago