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
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
c/c++ include
no description available
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
find word near another word (10 words distance)
no description available
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Match Decimal allow single leading/tailing 0
Matches a decimal, but only allows for leading/tailing Zeros if they are the first digit to precede or follow the decimal point
Submitted by
Doom87er
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
ESR und ESR+
ESR Einzahlungsscheine (CH)
Submitted by
dhu
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
UK Telephone Numbers
no description available
Submitted by
Riaan Joubert
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Validate image URL
Adaptation of RFC-3986 uri validation - https://tools.ietf.org/html/rfc3986 Validates that URL contains an image (jpg/jpeg/png/gif) reference whilst also allowing for queries Key parts of URL are captured in named groups The URL portion is also optional, so will validate just an image filename if r...
Submitted by
Norris
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
The Ultmate Email validation regex
This regex validates an email against RFC 5322 with RFC 6530 merged in. This allows for checking for International email addresses. Note that this regex works on bytes so any Unicode characters will have to be encoded in UTF-8 before they will pass.
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
State abbreviations
This regex efficiently captures any U.S. state abbreviation in only 117 characters, as opposed to 159 characters to list each state individually.
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Version RegEx
Matches version numbers consisting of only digits and dots.
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Finnish Mobile Number Validation
Checks for valid Finnish mobile numbers, takes in to account possible operator codes, different ways of marking country code if supplied and allows for hyphens and spaces in places where they are commonly used.
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Web url to image file including capture groups
Conforms to various RFC specifications Captures key components of url: Protocol Authority Port...
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Look up corresponding value in unsorted list
We have a GeoJSON that needs a "war_memorials" attribute added and populated with the correct value. Trouble is the sorting of the Features is not the same as the sorting of the CSV data with the values. So you can't just use a multiple-selection in Sublime Text and paste in place. This solution t...
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
从一个时间段中提取末尾时间点
支持仅有日期
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Fortnite Matcher for banning Fortnite
It is not compatible with leet speak, you can replace all numbers with their letter counterparts before matching the string with regex.
Submitted by
Kyza
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Datumsformat dd.MM.yyyy und yyyy-MM-dd
Erkennt Daten der deutschen Schreibweise 10.10.2018 1.2.18 ... und Daten im Format...
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Regex for JavaScript Templating
Selects everything between two pairs of curly braces
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Find CSS hexadecimal color values
no description available
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Extraneous slashes in pathnames
This regular expression matches all extraneous slashes in pathnames, that can be removed without altering which file the path name resolves into. It is intended to be used like so: Replace $extraslashregex with the actual regular expression. my $cleanpath = $path ~= s/$extraslashregex//gmxXr;...
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
alineas-ocorrencias
Regex que captura ocorrências "semelhantes" a : 'alinea a', 'alineas a', 'alinea "a"', 'ali. "a"',...
Submitted by
maffei2443
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
French Address Regex
French address regex Work on ruby
Submitted by
anonymous
-
5 years ago
1
...
677
678
679
680
681
682
683
...
732
test for binary number divisible by 3
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
javascript
/
(
1
(
01
*
0
)*
1
(
11
)*
0
*
)+
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 2 years ago