Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
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)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,480 community submitted regex patterns...
2
identity
Created
·
2015-09-04 17:51
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
2
Messages.properties language file validator
Created
·
2015-09-18 11:27
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
spec4u.net
2
Telefoonnummer
Created
·
2015-09-24 09:42
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
2
Find PHP-like variables
Created
·
2015-09-26 19:33
Flavor
·
ECMAScript (JavaScript)
Search a string for PHP-like variables starting with $, containing an unlimited number of non-whitespace characters and ending with a word boundary of any kind
Submitted by
Pascal Vorwerk
2
flex
Created
·
2015-10-01 03:53
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
2
Ultimate URL/IP validator
Created
·
2015-10-05 09:26
Flavor
·
ECMAScript (JavaScript)
Validates most types of URL's and IP addresses. NOTICE! remove "?" after first non-capturing group to forse check protocol.
Submitted by
anonymous
2
capture balisephp
Created
·
2015-10-12 12:47
Flavor
·
ECMAScript (JavaScript)
it's to use to get all tags. not easy to implement because some link in php with ? or > can make trouble to get the closure ?>
Submitted by
simon
2
US zip Code
Created
·
2015-10-13 12:56
Flavor
·
ECMAScript (JavaScript)
US zip Code
Submitted by
Aloke
2
Date Testing
Created
·
2015-10-14 13:42
Flavor
·
ECMAScript (JavaScript)
Javascript date regex
Submitted by
anonymous
2
Markup link
Created
·
2015-10-19 15:24
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
2
find action,form,forward struts
Created
·
2015-10-29 15:38
Flavor
·
ECMAScript (JavaScript)
find action,form,forward struts Remplace @ACTION@ = action struts Remplace @FORM@ = form name struts Remplace @FORWARD@ = forward name struts
Submitted by
anonymous
2
Parse OTP from QR Code
Created
·
2015-11-06 14:08
Flavor
·
ECMAScript (JavaScript)
This regular expression parses the uri of an one-time password typically masked by a QR Code. The expression supports the core hotp and totp, name, secret and optional counter (for hotp)
Submitted by
Carsten and Craig
2
US City Validation
Created
·
2015-11-16 20:42
Flavor
·
ECMAScript (JavaScript)
United States City name validation
Submitted by
Jagadesh
2
Fecha ISO
Created
·
2015-11-18 20:11
Flavor
·
ECMAScript (JavaScript)
Comprueba si una fecha está en formato ISO: aaaa/mm/dd. Obtiene 3 datos: 1=año; 2=mes; 3=dia, para su cambio al formato español dd/mm/aaaa. Detecta si el mes y el día pueden existir (no incluye mes febrero ni bisiestos)
Submitted by
Alfonso
2
Simple domain.tld tester
Created
·
2015-11-26 18:33
Flavor
·
ECMAScript (JavaScript)
For testing domain with TLD regExp.test("google.com") => true regExp.test("mad.engineering") => true
Submitted by
Sergio de la Garza
2
whitespaces and positive numerics (3 precisions accpet . or ,)
Created
·
2015-12-16 07:17
Flavor
·
ECMAScript (JavaScript)
//Accepts whitespaces and positive numeric values including integers and decimals(dot or comma optional) with 3 precisions only. //Ex: "999", " 999.999", " 999.999", " 999,999", " 999,999" -> ACCEPTABLE
Submitted by
Pubudu (motustudio)
2
Url parser and validator
Created
·
2015-12-16 15:14
Flavor
·
ECMAScript (JavaScript)
Validate an url with hostname or ip and port. Furthermore provides: the entire url the protocol the hostname/ip the port the path the querystring
Submitted by
Antonino Sirchia
2
Angular 2 property access
Created
·
2015-12-30 18:35
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
jros
2
file extension validation
Created
·
2016-01-07 19:04
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Lisa
2
pdf url link
Created
·
2016-01-13 10:00
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
Previous page
1
…
6
7
8
9
10
…
174
Next page
Community Library Entry
2
Regular Expression
Created
·
2015-10-13 12:56
Flavor
·
ECMAScript (JavaScript)
/
\d
{5}
(?:
-
?
\d
{4}
)?
/
i
Open regex in editor
Description
US zip Code
Submitted by
Aloke