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 5,700 community submitted regex patterns...
0
Clojure
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
domain name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
git://git.apache.org/aurora.git
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
try1
ECMAScript (JavaScript)
try1
Submitted by
anonymous
-
9 years ago
2
Unicode username
ECMAScript (JavaScript)
Unicode user name check with som allowed non-alhanum characters
Submitted by
Martin Bucko
-
9 years ago
0
Validate Social Security Number
Python
Validate that the social security number follows all of the guidelines of the Social Security Administration, and excludes all voided numbers.
Submitted by
Jacob O'Dea
-
9 years ago
1
US Zip Code Validation
ECMAScript (JavaScript)
5 digits and no 0 5/4 times
Submitted by
Ashish
-
9 years ago
1
Date-Validation with mm/dd/yyyy or mmddyyyy or mm-dd-yyyy or m/d/yyyy
ECMAScript (JavaScript)
Date Validation with leap year handling, & it takes care of date validation in the format like :mm/dd/yyyy or mmddyyyy or mm-dd-yyyy or m/d/yyyy or m-d-yyyy. 12/01/1986 02/29/2016 02/29/2015 13/31/1986...
Submitted by
Ashish
-
9 years ago
0
Date Validation
ECMAScript (JavaScript)
no description available
Submitted by
Ashish
-
9 years ago
-2
Date Validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
UK postcodes
Python
Flexible regex to detect full or partial UK postcodes.
Submitted by
Victor Munoz
-
9 years ago
1
Domain
ECMAScript (JavaScript)
Will return domain portion of a url: Example: http://www.jkrowlings.com/books Returns: www.jkrowlings.com
Submitted by
Scott Burrows
-
9 years ago
1
Everthing in an element
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
14
Phone Number
ECMAScript (JavaScript)
Allows phone numbers with optional country code, optional special characters and whitespace
Submitted by
Tlmader
-
9 years ago
3
URL Regex (protocol strict)
ECMAScript (JavaScript)
Includes resource strings, taken from here: https://gist.github.com/dperini/729294
Submitted by
Diego Perini
-
9 years ago
1
postgresql
Python
no description available
Submitted by
anonymous
-
9 years ago
2
postgesql
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Help
Python
no description available
Submitted by
anonymous
-
9 years ago
0
barcode or barcode list
Python
no description available
Submitted by
anonymous
-
9 years ago
0
ASP.NET Web Forms dates in JSON
ECMAScript (JavaScript)
Look for date objects in JSON returned from ASP.NET Web Forms.
Submitted by
anonymous
-
9 years ago
1
...
255
256
257
258
259
...
285
regex to get N words from a line
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(?:
\w
+
\s
?
){1,12}
)
.
*
/
gm
Open regex in editor
Description
usefull if you want to return (N) words instead of (N) chars
Submitted by
Pavel Dominguez
-
9 years ago