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
Decimal Range
PCRE (PHP <7.3)
Matches any range valid numerical range. i.e 1-5 ; 1.0-5 ; 1.0-5.0 ; 1-5.0
Submitted by
James Lewis
-
9 years ago
0
NATO Stock Number (with or without NSC)
PCRE (PHP <7.3)
RegEx to validate a NATO Stock Number with or without the NATO Stock Code and with or without dashes
Submitted by
Matthew Perryman
-
9 years ago
1
OCEAN - SELECT to DropDown grid
PCRE (PHP <7.3)
no description available
Submitted by
UndeadScythes
-
9 years ago
1
URN, match blocchi
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
uri template validation
PCRE (PHP <7.3)
validating uri template
Submitted by
Tirta Wijaya
-
9 years ago
1
Lab3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
used with irssi script fnotify's output with nm.pl enabled
PCRE (PHP <7.3)
transforms: network #channel message network #channel message network #channel message to network #channel message...
Submitted by
anonymous
-
9 years ago
0
Open and Closing Markup tags on Single Line Markup
PCRE (PHP <7.3)
Quick Dirty Working
Submitted by
Timothy Smith
-
9 years ago
0
handlebars template match
ECMAScript (JavaScript)
returns all the handlebars elements in a line - returns {{...}} for each instance found Matches the following test {{sss}} s {{rrr}} dkdksl {{dds}} {{ dhre }} {{je ss}} returns ['{{sss}}','{{rr}}','{{dds}}','{{ dhre }}','{{je ss}}']
Submitted by
anonymous
-
9 years ago
4
Validate hex color
PCRE (PHP <7.3)
Validates hexadecimal color codes based on the following rule set: Optionally starting with a hash. 3 or 6 characters in length. Using the [0-9a-f] character set.
Submitted by
Nathaniel Blackburn
-
9 years ago
1
Project
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Multiline shortest match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Email Validation
Python
Full email validation with optional "." "-" "_"
Submitted by
Jakub Stasiak
-
9 years ago
1
Oxford comma
ECMAScript (JavaScript)
Insert comma in lists before the word "and" or "or".
Submitted by
Mogsdad w/ assist from TerryAtOpus
-
9 years ago
1
Pattern to get trains station names.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Expanded visual basic functions/subs
PCRE (PHP <7.3)
I've been using this regex to get a list of expanded functions/subs (specifically the names of them from the 'func' capture group) from VB code that is used as input in a code converter for a project at work.
Submitted by
Timothy Smith
-
9 years ago
2
Expanded Visual Basic Properties
PCRE (PHP <7.3)
I've been using this regex to get a list of expanded properties (specifically the property names from the 'prop' capture group) from VB code that is used as input in a code converter for a project at work.
Submitted by
Timothy Smith
-
9 years ago
0
Website URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Récupérer information
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Récupérer la bonne information
PCRE (PHP <7.3)
Groupe d'information $1 $2 $3 $1 = Prénom + Nom $2 = (Information à récupérer ou à supprimer) $3 = Numéro de téléphone
Submitted by
Terence DEMOL
-
9 years ago
1
...
766
767
768
769
770
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
a
-
zA
-
Z
]
{3,9}
:
(
\/
){2}
)?
(
[
a
-
zA
-
Z0
-
9
\.
]
*
){1}
(?:
:
[
a
-
zA
-
Z0
-
9
]
{1,4}
)?
(?:
\/
[
_
\,\'\$
#~
\?\-\+
=&;%@
\.
\w
%
]
+
)*
(?:
\/
)?
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago