Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Equation matching (without equal)
use this to get value of any side of an equation. You can combine this with https://regex101.com/r/fH5kJ1/1
Submitted by
Kerosene2000
-
8 years ago
4
26 upvotes, 22 downvotes (54% like it) (You must be signed in to vote)
javascript
url
no description available
Submitted by
anonymous
-
8 years ago
4
9 upvotes, 5 downvotes (64% like it) (You must be signed in to vote)
javascript
Full e-mail validator
no description available
Submitted by
anonymous
-
8 years ago
4
5 upvotes, 1 downvotes (83% like it) (You must be signed in to vote)
javascript
youtube url match
extract video id, index, play list id from youtube URL
Submitted by
anonymous
-
8 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Typescript - /// <reference path="..."/> Expression
Finds Typescript's reference path syntax.
Submitted by
Lovelidge, Shawn
-
8 years ago
4
5 upvotes, 1 downvotes (83% like it) (You must be signed in to vote)
javascript
Currency Formater Accept , & .
no description available
Submitted by
anonymous
-
8 years ago
4
7 upvotes, 3 downvotes (70% like it) (You must be signed in to vote)
javascript
Mobile phone russia
Submitted by
Johhny
-
8 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
import url image
import url image
Submitted by
bartimeys
-
7 years ago
4
6 upvotes, 2 downvotes (75% like it) (You must be signed in to vote)
javascript
vowel words
([!-\~]aeiou)
Submitted by
Ipsita Mohanty
-
7 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
find uncommented coffeescript console.logs
no description available
Submitted by
valiafetisov
-
7 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
extract domain with port
no description available
Submitted by
yooresh
-
7 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Function Declaration / Expression
matches both function declarations and expressions in javascript. ex. function name () {...} || function () {}
Submitted by
Ja Superior
-
7 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
UK Postcode
no description available
Submitted by
msyed
-
7 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Campos Decimais (pt_br)
Funciona para campos decimais para moeda nacional brasileira. Aceita números inteiros, separação por milhar e a separação decimal.
Submitted by
Murilo C. Cumerlatto
-
7 years ago
4
6 upvotes, 2 downvotes (75% like it) (You must be signed in to vote)
javascript
North American Phone Number
Validate North American phone numbers with capture groups for the Area Code, Exchange Code, Line Number, and Extension.
Submitted by
AaronBoots
-
6 years ago
4
5 upvotes, 1 downvotes (83% like it) (You must be signed in to vote)
javascript
BEST simple mail regex validator
VALIDATE ALL WOLRD MAIL RULES Very simple expression Less than 140 caracters. Validate on SonarQube typescript, javascript, angular rules ...
Submitted by
Ayslan Johnson (ayslanjohnson@gmail.com)
-
5 years ago
3
5 upvotes, 2 downvotes (71% like it) (You must be signed in to vote)
javascript
email
no description available
Submitted by
anonymous
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Capture Query Strings
A solution for capture query params.
Submitted by
Rafael Laurindo
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Sql Injection detection
this regex detect any sql injections .
Submitted by
Saeed.Tabrizi@gamil.com
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Email
Python
Submitted by
anonymous
-
7 years ago
1
2
3
4
5
6
7
8
...
287
us postal/zip
Vote
13
19 upvotes, 6 downvotes (76% like it) (You must be signed in to vote)
Regular Expression
javascript
/
(
^
[
0
-
9
]
{4}
?
[
0
-
9
]
$
|
^
[
0
-
9
]
{4}
?
[
0
-
9
]
-
[
0
-
9
]
{4}
$
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
jay johnson
- 9 years ago