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,040 community submitted regex patterns...
2
Find scripts or css URIs
ECMAScript (JavaScript)
Given script or link tags, find and extracts URIs, excluding the double quotes
Submitted by
Rodrigo Kaveski
-
10 years ago
2
Filtrar inicio string
PCRE (PHP <7.3)
Filtrar inicio da string por BRN ou 201
Submitted by
Leandro
-
10 years ago
2
Check if the title ends in is alid or not in java using regex
PCRE (PHP <7.3)
testing patterns http://stackoverflow.com/questions/30751885/check-if-a-string-ends-in-is-valid-or-not-in-java-using-regex
Submitted by
Sriharsha
-
10 years ago
2
Parse "ipconfig /all" output and grab all MAC Adresses
PCRE (PHP <7.3)
Parse "ipconfig /all" output and grab all MAc Adresses.
Submitted by
j0inty
-
10 years ago
2
composer package
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2
Country calling codes
PCRE (PHP <7.3)
Parses countries list from https://countrycode.org/
Submitted by
anonymous
-
10 years ago
2
CSS Minimizer
PCRE (PHP <7.3)
Takes any valid CSS and minimizes it, removing comments and whitespace. Can be called with something like PHP's preg_replace() to dynamically minimize css files.
Submitted by
skoskie
-
9 years ago
2
Получение числа, которым заканчивается строка
PCRE (PHP <7.3)
no description available
Submitted by
summer_rain
-
9 years ago
2
Match at least 2-letters (international)
ECMAScript (JavaScript)
RegExp to match that user has entered at least 2-letters (including international letters) in a field
Submitted by
anonymous
-
9 years ago
2
regex 1 or more json array
PCRE (PHP <7.3)
no description available
Submitted by
me
-
9 years ago
2
Find any URL with no trailing slash
ECMAScript (JavaScript)
Not perfect, but better than none.
Submitted by
oneglory
-
9 years ago
2
i18 language lines extraction
ECMAScript (JavaScript)
Extracts lines with i18 prefix from text
Submitted by
anonymous
-
9 years ago
2
python:S117
PCRE (PHP <7.3)
Local variable and function parameter names should comply with a naming convention
Submitted by
anonymous
-
9 years ago
2
Simple @user replacement
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
credit card
PCRE (PHP <7.3)
Based on http://www.regular-expressions.info/creditcard.html This example includes test strings. This only validates the pattern, and not whether the credit card number passes a checksum validation. See the Luhn algorithm for details https://en.wikipedia.org/wiki/Luhn_algorithm...
Submitted by
Steve Piercy
-
9 years ago
2
Function Parameter Switcher
PCRE (PHP <7.3)
Switches the order of two functions in a parameter.
Submitted by
anonymous
-
9 years ago
2
Prime numbers test
Python
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
Submitted by
LexDias
-
9 years ago
2
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
better orf finder
PCRE (PHP <7.3)
don't use my older one
Submitted by
tnrich
-
9 years ago
2
JSON BizTalk schema output
PCRE (PHP <7.3)
To convert the BizTalk schema output to one string
Submitted by
Emiel Kool
-
9 years ago
1
...
20
21
22
23
24
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
A
-
z
]
{3}
[
\d
]
{2}
[
\d
]
{1,2}
:
[
\d
]
{1,2}
:
[
\d
]
{1,2}
)
(
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
)
(
\[
S
\=
[
\d
]
{9}
\]
)
(
\[
[
A
-
z
]
ID=
.
{1,18}
\]
)
\s
{1,3}
(
\(
N
\s
[
\d
]
{5,20}
\)
)?
(
\s
+
(
.
*
)
)
\s
{1,3}
?
(
\[
Time:
.
*
\]
)?
/
gm
Open regex in editor
Description
no description available
Submitted by
sdf
-
4 years ago