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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 11,960 community submitted regex patterns...
1
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
yous
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Adyen reason when AUTHORISATION success
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
11
remove comments from php code
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
russian phone number hard validation (multiformat)
PCRE (PHP <7.3)
Supported formats (mobile): +7(xxx)xxx xxxx +7(xxx)xxxxxxx +7(xxx)xxx-xx-xx +7(xxx)xxx xx xx +7 xxx xxx xx xx...
Submitted by
Redfern.89
-
9 years ago
1
Проверка валидности номера телефона в разных форматов в +7
PCRE (PHP <7.3)
no description available
Submitted by
redfern.89
-
9 years ago
1
Update of Ivory Coast Mobile phone test
PCRE (PHP <7.3)
With the new numbers such as 78 79 the regex is now updated!
Submitted by
Alain ZIO
-
9 years ago
0
html tags with exclusions
PCRE (PHP <7.3)
Matches any text starts with ""; Tag exclusions described in first non-capturing group (can be removed); Tag name will be captured by group #1;
Submitted by
Pavel Savkin aka nhaizere
-
9 years ago
1
Thai Name match
PCRE (PHP <7.3)
no description available
Submitted by
itpcc
-
9 years ago
1
Wyrażenie sprawdzające wiek od 0 do 200
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
extract values inside <![CDATA[...]]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Improved RegEx101 ID Grabber
PCRE (PHP <7.3)
Grabs the ID and revision from the URL.
Submitted by
RF
-
9 years ago
1
http://stackoverflow.com/questions/30405364
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Test email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Regex
PCRE (PHP <7.3)
Test
Submitted by
anonymous
-
9 years ago
1
How to get various values within a pipe delimited string
PCRE (PHP <7.3)
We have a pipe delimited text file and each new record is separated by a CRLF. Each record has a fixed number of pipes, but not every column or field is valued, so there may be 2 or more pipes together. Is there a way to write a regex to parse out the third or fifth value? Many thanks in advance.
Submitted by
Jon
-
9 years ago
-2
cofor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Regexp haus
PCRE (PHP <7.3)
Ejemplo para parsear direcciones de Haus
Submitted by
Leo
-
9 years ago
1
Window Spacer type
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Convert PHP var to array
PCRE (PHP <7.3)
I use this regex to quickly convert the class' variables into a string which is usable with the "function" array. I copy-paste the varialbe name and use this regex. Useful to convert all your variable and put it in the magic function __sleep(). After it, you can delete the variables you don't want.
Submitted by
anonymous
-
9 years ago
1
...
560
561
562
563
564
...
598
My first regex pattern of url(http,https,ftp,sftp,ftps)
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?<protocol>
(
(
https
?
)
|
(
sftp
)
|
(
ftps
?
)
:
)
)?
(
\/\/
)?
(?<domain>
(
[
a
-
zA
-
Z0
-
9
\.
_-
]
+
)
)+
(?<path>
(
[
\/
\w
.
]
+
)
)*
(
\?
{0,1}
)
(?<parameters>
(
[
&|&
]
*
(
[
\w
\.
,-
]
*
=
*
[
\w
\.
,-
]
*
)
)
)*
$
/
Open regex in editor
Description
no description available
Submitted by
Naruto(Kenny Fan)
-
8 years ago