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
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
token
replace token like [foo:bar:ba zz]
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
SharePoint File Name Vaidation
The file name validation algorithm from MS KB905231, I assumed the prohibited suffixes included the file extension. I.e. 'foo.doc.files' would not match but 'foo.files.doc' would.
Submitted by
David Nelson
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
Machine readable passport number (second line)
Second line of the machine readable passport, based on the excellent article here - http://www.highprogrammer.com/alan/numbers/mrp.html
Submitted by
Leigh Garland
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
float
no description available
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
WOrd with colon
no description available
Submitted by
HJ
-
8 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
javascript
find link to profile in VK html message
поиск в тексте всех ссылок на профили пользователей вконтакте. ссылки вида [id12345678|Name]
Submitted by
MixApp
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
Phone validate
Validate Phone number even if contain country code
Submitted by
Jorge Cervantes
-
8 years ago
0
4 upvotes, 4 downvotes (50% like it) (You must be signed in to vote)
javascript
full split URL by domain, path, params
no description available
Submitted by
memboc
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
Remove XML-Style Comments (JavaScript)
Exist a problem with simple regex in JS Solution from: https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9781449327453/ch09s10.html
Submitted by
Arkadiusz Sawicz
-
8 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
javascript
List of EmailAddresses
List of EmailAddresses optionally allowing with personal i.e. "Personal Name "
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Square_Brackets
no description available
Submitted by
Connor Goddard
-
8 years ago
0
3 upvotes, 3 downvotes (50% like it) (You must be signed in to vote)
javascript
SSN
no description available
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
ASP.NET Web Forms dates in JSON
Look for date objects in JSON returned from ASP.NET Web Forms.
Submitted by
anonymous
-
8 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
javascript
Date Validation
no description available
Submitted by
Ashish
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
CSV parser
no description available
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
Validador Email
Só aceita emails que comecem com letras ou números, tenha de 0 a 32 caracteres, letras, números, ponto ou hífen, antes do @
Submitted by
Gustavo Américo (GAG)
-
8 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
javascript
Match all strings that ends with more than 3 numbers
no description available
Submitted by
anonymous
-
8 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
javascript
3 digit number between 82-104
no description available
Submitted by
anonymous
-
8 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
javascript
CPF/CNPJ - Com/Sem máscara
Valida se é um CPF ou um CNPJ válido, independente da máscara
Submitted by
Victor A. de O. Neto
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
Google-like search query pattern matching
To identify quoted strings, single terms as well as subtracting those types. Based on: http://stackoverflow.com/questions/1883188/google-like-search-query-tokenization-string-splitting
Submitted by
Michael La Voie
-
8 years ago
1
...
269
270
271
272
273
274
275
...
283
Extract currency with currency symbol if present
Vote
7
8 upvotes, 1 downvotes (89% like it) (You must be signed in to vote)
Regular Expression
javascript
/
(
[
£
\$
]
)*
(
[
\d
,.
]
*
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
Simon Gardner
- 8 years ago