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,000 community submitted regex patterns...
1
Cartão de cidadão / BI
ECMAScript (JavaScript)
no description available
Submitted by
David Serrano
-
9 years ago
1
10 digits
ECMAScript (JavaScript)
10 digits
Submitted by
anonymous
-
9 years ago
1
UID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Password validation
PCRE (PHP <7.3)
Check if the string has a minimum of 6 characters, at least 1 upper case char, at least 1 lower case char and at least 1 number with no spaces.
Submitted by
Webchef.de
-
9 years ago
1
geolocation coordinates string
PCRE (PHP <7.3)
Matches a geolocation coordinates string consisting of latitude and longitude separated by a comma with up to 7 decimal places precision.
Submitted by
Steve Piercy
-
9 years ago
1
UK Postcode checker
Python
Matches more thoroughly than others in the library. Based on http://stackoverflow.com/questions/164979/uk-postcode-regex-comprehensive. Matches: W1A 1AA, WC2H 7LT, SE50EG
Submitted by
spookypeanut
-
9 years ago
1
Oracle Stored Procedure Name Validator
ECMAScript (JavaScript)
Validates valid Oracle Stored Procedure names
Submitted by
anonymous
-
9 years ago
1
Smoke Detector Regex
Python
Parses Smokey messages
Submitted by
Eyeballcode
-
9 years ago
1
Capture if pattern NOT found
PCRE (PHP <7.3)
Capture the input if the pattern is NOT found
Submitted by
Byron Jones
-
9 years ago
1
replace comma's between quoted text in csv
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Change Table names
PCRE (PHP <7.3)
no description available
Submitted by
Andrea
-
9 years ago
1
Words with only one spacing
PCRE (PHP <7.3)
Names with only one spacing allowed in between words.
Submitted by
Pavan Kataria
-
9 years ago
1
123
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
^([a-zA-Z1-9]{1})([a-zA-Z0-9])+:$
ECMAScript (JavaScript)
hexa deciamal number with ending with ( :) a special character
Submitted by
anusha
-
9 years ago
1
Validate multiple Email-addresses separated by semicolon
PCRE (PHP <7.3)
Validate multiple Email-addresses separated by semicolon. No check on allowed domains, just a plain and simple check on the correct structure
Submitted by
maxthelup
-
9 years ago
1
IBAN (with spaces)
PCRE (PHP <7.3)
This matches EU IBAN codes considering spaces here and there
Submitted by
ZioAldo
-
9 years ago
(Last modified a year ago)
1
Date time AM/PM validation
PCRE (PHP <7.3)
no description available
Submitted by
vladimir
-
9 years ago
1
BNF for specific URL schemes (httpurl) from rfc1738
Python
This regex represents the httpurl in BNF from rfc1738 (at topic 5). Reference:https://www.ietf.org/rfc/rfc1738.txt
Submitted by
Migueh
-
9 years ago
1
localhost ip's with port
Python
Matches localhost ip range with optional port capture: 127.X.X.X or 127.X.X.X:PORT ToDo: check valid ip address.
Submitted by
Rodrigo M. A.
-
9 years ago
1
Trim Whitespace before/after String
ECMAScript (JavaScript)
Remove whitespace before and after the string. Use g for trimming before and after Use m for trimming each line of a multiline string individually. Code: ' test '.replace( /(^\s+|\s+$)/gm, '' );
Submitted by
KevinV
-
9 years ago
1
...
839
840
841
842
843
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^\d
{10}
$
/
Open regex in editor
Description
10 digits
Submitted by
anonymous
-
9 years ago