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,000 community submitted regex patterns...
1
Regex Validator
PCRE (PHP <7.3)
A regex to parse regexs
Submitted by
anonymous
-
8 years ago
1
Catdance
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Check if string contains special chars
PCRE (PHP <7.3)
If string contains special chars no match. Blank space is safe. It will accept blank spaces.
Submitted by
binary_fm
-
8 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
RUBROS
Python
no description available
Submitted by
anonymous
-
8 years ago
1
tempate location
PCRE (PHP <7.3)
no description available
Submitted by
Tadas
-
8 years ago
1
n+5
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
HH:MM
ECMAScript (JavaScript)
Validates 24 hour formmatted hours and minutes
Submitted by
anonymous
-
8 years ago
1
E-mail validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
TestMode Build Zip Files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Get Month and Year from different date format
PCRE (PHP <7.3)
Get Month and Year from different date format
Submitted by
ankit s
-
8 years ago
1
123
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Remove blank lines
PCRE (PHP <7.3)
Removes all blank lines. PHP: trim(preg_replace("/(^[\r\n]|[\r\n]+)[\s\t][\r\n]+/", "\n", $string)); You have replace with a newline char to break non-blank lines. This also leaves a single trailing newline, easily removed with trim($string); if needed.
Submitted by
anonymous
-
8 years ago
1
NĂºmero telefone celular brasileiro
ECMAScript (JavaScript)
Recebe os formatos: 1: dd xxxxx-xxxx 2: (dd) xxxxx-xxxx 3: ddxxxxx-xxxx 4: (dd)xxxxx-xxxx
Submitted by
Cleverson
-
8 years ago
1
C-style comments
Python
Match C-style comments
Submitted by
Mykola Orliuk
-
8 years ago
1
Extract title from icecast default json
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
amazon video filter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
STM32 MCUs
PCRE (PHP <7.3)
Select STM32 MCU, Flash & RAM size
Submitted by
Ivaylo Iltchev
-
8 years ago
1
STM32 Check MCU
PCRE (PHP <7.3)
no description available
Submitted by
Ivaylo Iltchev
-
8 years ago
1
step1
Python
no description available
Submitted by
anonymous
-
8 years ago
1
...
234
235
236
237
238
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
^
(
\d
{1,2}
)
\/
(
\d
{4}
)
(
.
*
)
)
|
(
^
(
\d
{1,2}
)
\/
(
\d
{1,2}
)
\/
(
\d
{4}
)
(
.
*
)
)
|
(
^
(
\d
{4}
)
\/
(
\d
{1,2}
)
\/
(
\d
{1,2}
)
(
.
*
)
)
/
gm
Open regex in editor
Description
Get Month and Year from different date format
Submitted by
ankit s
-
8 years ago