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...
2
capture balisephp
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
-
9 years ago
2
Get consecutive capitalized words
PCRE (PHP <7.3)
"Bank Negara Malaysia", "1Malaysia Development Bhd"
Submitted by
aizu
-
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
2
US zip Code
ECMAScript (JavaScript)
US zip Code
Submitted by
Aloke
-
9 years ago
-2
SQL Injection
ECMAScript (JavaScript)
SQL injection regEx pattern
Submitted by
Darshan Patil
-
9 years ago
2
Date Testing
ECMAScript (JavaScript)
Javascript date regex
Submitted by
anonymous
-
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
2
Ontario Licence Class Combinations
Python
In Ontario, Canada, license classes are combined on the drivers license. This regex will parse out individual classes from the combination.
Submitted by
Gregory Holley
-
9 years ago
2
5
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Markup link
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
yowsup-cli message parsing
Python
This pattern parses the yowsup-cli message output to recover (otherwise lost) messages. Current yowsup version: v2.4
Submitted by
kerel
-
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
[\d]*
PCRE (PHP <7.3)
kostix@mail.ru
Submitted by
anonymous
-
9 years ago
2
Any variable between @
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Look Forward
Python
Between two strings.
Submitted by
Online Cop
-
9 years ago
1
US Phone Number Format Check
PCRE (PHP <7.3)
All Valid: 3334444 222333444 12223334444 333-4444 222-333-4444...
Submitted by
anonymous
-
9 years ago
1
...
53
54
55
56
57
...
902
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
^
@
[
a
-
zA
-
Z0
-
9._
]
*
@
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago