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 3,420 community submitted regex patterns...
2
US Postal Code
ECMAScript (JavaScript)
refactor
Submitted by
jay johnson
-
10 years ago
2
US and Canada Regex
ECMAScript (JavaScript)
A zipcode regex for validation of both US and Canada
Submitted by
Kyle M.
-
10 years ago
2
Find 'console.' but not 'console.log'
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
10 years ago
2
Replace \n by <br />
ECMAScript (JavaScript)
Replace non-ending string \n by the HTML tag
Submitted by
anonymous
-
10 years ago
2
Punto antes de ¿ o ¡
ECMAScript (JavaScript)
Corregir la falta de punto cuando se abre un signo de exclamación o interrogación para el idioma español.
Submitted by
paconaranjo
-
10 years ago
2
trim string
ECMAScript (JavaScript)
trim leading and trailing whitespace from a string
Submitted by
Dave Atchley
-
10 years ago
2
JavaScript trim string
ECMAScript (JavaScript)
Trim leading/trailing space on a string: do not use /gm flags. Trim each line of a multiline string: use the /gm flag.
Submitted by
https://github.com/naomik
-
10 years ago
2
haml attribute parsing
ECMAScript (JavaScript)
no description available
Submitted by
OnlineCop
-
10 years ago
2
Javascript: howto get rid of resulting ""
ECMAScript (JavaScript)
Hey folks, I try to do smth like this: var s = 'this is a "" && "string constant" and this "is another" one', result = s.match(new RegExp('"{1}(.*?)"{1}', 'g')); console.log(result);...
Submitted by
anonymous
-
10 years ago
2
filename split 2
ECMAScript (JavaScript)
no description available
Submitted by
Miloš Ratković
-
10 years ago
2
Match number in html
ECMAScript (JavaScript)
Prevent matching in markup attributes
Submitted by
Mathieu Civel
-
10 years ago
2
full asshole
ECMAScript (JavaScript)
no description available
Submitted by
alex
-
10 years ago
2
Date validator for mm/dd/yy
ECMAScript (JavaScript)
no description available
Submitted by
Dheeraj Khushalani - dotnetguy.net
-
10 years ago
2
Match 4chan thread URL
ECMAScript (JavaScript)
Matches a 4chan thread URL, see the examples
Submitted by
Zeke Sonxx <github.com/zekesonxx>
-
10 years ago
2
Positive Numbers greater than 0 with leading zeroes.
ECMAScript (JavaScript)
Accepts all positive numbers above 0. Accepts numbers with leading zeroes e.g.: 0123, 00123.
Submitted by
Sandeep Ranka
-
10 years ago
2
e164 format
ECMAScript (JavaScript)
e164 format
Submitted by
anonymous
-
10 years ago
2
phone regex
ECMAScript (JavaScript)
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
10 years ago
2
Regular Expression For Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have Resolved leap year issue as well as month ending day issue with Regular expression
Submitted by
Priyanka Khadilkar
-
10 years ago
2
Email validation
ECMAScript (JavaScript)
Very crude, but effective email validation.
Submitted by
Ryan Oaks
-
10 years ago
2
price float pattern
ECMAScript (JavaScript)
Checks that value is float format and has two digits at max
Submitted by
@jprajani
-
10 years ago
1
...
157
158
159
160
161
...
171
password 1upper 1lower 1number 1specialcharater
2
Regular Expression
ECMAScript (JavaScript)
/
^
(?=
.
{7,15}
$
)
(?=
.
*
[
A
-
Z
]
)
(?=
.
*
[
a
-
z
]
)
(?=
.
*
\d
)
(?=
.
*
[
!@#
\.
,
\/\$
%
\^
&
\*\(\)\\\-\_
=
\[\]
{}:;"'<>
\?
]
)
.
*
$
/
Open regex in editor
Description
fjk@1Qaa$
Submitted by
Anuswadh
-
8 years ago