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,020 community submitted regex patterns...
0
Match Phone Number: 03## ####### OR +92 3## #######
Java 8
Can be used to match Pakistani SIM card Numbers
Submitted by
anonymous
-
2 years ago
0
Capture mmcli gps location
ECMAScript (JavaScript)
groups latitude and longitude values from the return of "mmcli -m 0 -K --location-get"
Submitted by
anonymous
-
2 years ago
0
Time Hint
PCRE2 (PHP >=7.3)
Regex for detecting common date/time formats.
Submitted by
Gyen
-
2 years ago
0
Filtering of URL parameter passwords
PCRE2 (PHP >=7.3)
When logging URLs the passwords that are sent as URL parameters should be masked out to not write them in clear text into the log files.
Submitted by
Jan Kessler
-
2 years ago
0
поиск по ключу но только при наличии еще одного ключа
PCRE2 (PHP >=7.3)
регулярное выражение по вхождению ключа, но только при наличии еще одного ключа
Submitted by
Oin
-
2 years ago
0
Filter Special Characters
PCRE (PHP <7.3)
A regular expression to filter special characters.
Submitted by
gwicho38
-
2 years ago
1
aadhar number
PCRE2 (PHP >=7.3)
Finds Aadhar number from given string
Submitted by
anonymous
-
2 years ago
0
AWS Cron regex
PCRE2 (PHP >=7.3)
A incomplete regex for validating AWS cron expressions
Submitted by
anonymous
-
2 years ago
1
ISBN-10
ECMAScript (JavaScript)
Regex that matches the old ISBN-10 format and captures all relevant groups. It does not verify that the ISBN is valid though. The format specification is based on the following website: https://isbn-information.com/the-10-digit-isbn.html and the International ISBN Agency user's manual.
Submitted by
Alejandro
-
2 years ago
1
ISBN-13
ECMAScript (JavaScript)
Regex that matches the new (as of 2007) ISBN-13 format and captures all relevant groups. It does not verify that the ISBN is valid though. The format specification is based on the following website: https://isbn-information.com/the-13-digit-isbn.html and the International ISBN Agency user's manual.
Submitted by
Alejandro
-
2 years ago
0
nextflow
PCRE2 (PHP >=7.3)
nextflow grammer
Submitted by
anonymous
-
2 years ago
1
find all url in <a> in html
PCRE2 (PHP >=7.3)
for tp
Submitted by
anonymous
-
2 years ago
1
find text in html
PCRE2 (PHP >=7.3)
for tp
Submitted by
anonymous
-
2 years ago
0
No acepta más de un espacio por palabra
ECMAScript (JavaScript)
No more spaces between words
Submitted by
Magdiel Gomez
-
2 years ago
1
surnames
Python
italian uppercase surnames
Submitted by
anonymous
-
2 years ago
0
AyL
Python
Example of re and substitutions with csv file
Submitted by
Ing Daniel Pérez
-
2 years ago
0
Dutch postalcode + house number
ECMAScript (JavaScript)
Dutch postalcode + house number like: 1232AS 23 1232AS 23a
Submitted by
Kevin
-
2 years ago
0
title and page
.NET 7.0 (C#)
find title and page in text
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
parseTagFromName simplify name
ECMAScript (JavaScript)
This removed some extra tags from the name of an experiment to make the next match part simpler.
Submitted by
anonymous
-
2 years ago
0
Encontrado Milhares
PCRE2 (PHP >=7.3)
milhares/centenas/dezenas milhares/centenas/dezenas/unidades milhares/centenas milhares/dezenas
Submitted by
anonymous
-
2 years ago
1
...
115
116
117
118
119
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?<=
watch
\?
v=
|
\/
videos
\/
|
embed
\/
|
youtu
.
be
\/
|
\/
v
\/
|
watch
\?
v%3D
|
%2Fvideos%2F
|
embed%2F
|
youtu
.
be%2F
|
%2Fv%2F
)
[^
#
\&\?
\n
]
*
/
ig
Open regex in editor
Description
You can easily extract YouTube IDs, excluding the paths and parameters.
Submitted by
anonymous
-
2 years ago