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
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
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Browser Console - Format Specifier
Captures format specifiers commonly used in logging and console messages, as defined in the current whatwg/console spec: %s: Formats the value as a string %i: Formats the value as an integer %d: Formats the value as an integer %f: Formats the value as a floating point value...
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Browser Console - Format Specifier
Captures format specifiers commonly used in logging and console messages, as defined in the current whatwg/console spec: %s: Formats the value as a string %i: Formats the value as an integer %d: Formats the value as an integer %f: Formats the value as a floating point value...
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
VS Code - Stylus Problem Matcher
no description available
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
1G
no description available
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Ad Astra
no description available
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Regular Expression to Validate File Path and Extension
Recently, I was looking for a regular expression to validate a file path and extension. I found several of them on Google, but none of them fit my requirement. So I decided to put together a version that suits my need. Here is the Regular Expression to validate the file path and extension and it is ...
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Star-Quantifier
no description available
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
user-agent
Http response header User-Agent
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
user-agent
Http response header User-Agent
Submitted by
anonymous
-
2 years ago
1
...
677
678
679
680
681
682
683
...
731
regex_nok_ddc_V5
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
python
r"
construit
\w
{2,4}
(
lieu
|
sein
|
plusieurs
|
parpaings
|
face
|
forme
|
immeuble
|
(
\d
+
|
\w
{2,10}
)
(
[
ée
]
tapes
|
phases
)
|
ossature
|
siporex
|
plaques
|
charpente
|
rez
.
*
|
rdc
|
cloison
|
\d
+
fois
|
r
\+
\d
+
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
guif
- 2 years ago