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 14,700 community submitted regex patterns...
1
Regex not work in online regexEditor but work in actionscript3 code
ECMAScript (JavaScript)
Regex : /^\s\d+\s$(?:\r?\n?)+^\s([\d:,\.]+)\s-->\s([\d:,\.]+)\s$(?:\r?\n?)+((?:.(?:\r?\n?)?)?)(?:\r\n|\r|\n|$)/gm; Test String : 1...
Submitted by
anonymous
-
9 years ago
0
check if a string starts with an integer, then hyphen, then anything
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
remove link from discuz quoted message
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
9 years ago
1
Greatest common divisor
ECMAScript (JavaScript)
Calculates the greatest common divisor of two numbers. Attention: pipes in the substitution separate alternatives. If one alternative does not match, the next alternative is tried if it exists. The substitution must be repeated until it cannot substitute further.
Submitted by
luis140219 on GitHub
-
9 years ago
1
Phone Guatemala
PCRE (PHP <7.3)
Regex for phones in Guatemala
Submitted by
Rodrigo Polo
-
9 years ago
1
Strip / Delete / Remove / empty paragraphs
PCRE (PHP <7.3)
You can format p:empty paragraphs with CSS, but sometimes they are not completely empty. This is meant to remove those.
Submitted by
SocialBlogsiteWebDesign.com
-
9 years ago
1
30164958
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
StackOverflow answer for: How can I parse an attribute string to an ar
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
foreach
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
foreach
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
7
Match text (not within html tag)
ECMAScript (JavaScript)
no description available
Submitted by
Moistly
-
9 years ago
1
IP v4 format validation
PCRE (PHP <7.3)
Valid 0.0.0.0 1.1.1.1 101.101.101.101 255.255.255.255 156.0.1.10...
Submitted by
NexRezzo
-
9 years ago
0
test
Python
test
Submitted by
boag
-
9 years ago
0
Numéro téléphone portable
PCRE (PHP <7.3)
prend en compte les +33 requiert un début par 06 ou 07 accepte les séparateurs de type "." ou " "
Submitted by
brad.inside@gmail.com
-
9 years ago
1
Liberal Email Address
ECMAScript (JavaScript)
Very simple & basic. More forgiving, less stringent. Allows anything which looks reasonably valid. Allows one at-symbol. Requires a two part hostname (i.e. abc@localhost is not allowed)
Submitted by
billinghamj
-
9 years ago
2
File filtering by extension
PCRE (PHP <7.3)
You would like to scan a folder containing many files (Example : *.pb, *.pbi, *.pbp and *.pbf) and you are interested only by two type of files (example : *.pb and *.pbi). This expression will match only if extension match (in this case *.pb and *.pbi) otherwise no reaction. Feel free to change file...
Submitted by
StarBootics
-
9 years ago
0
URL to link
PCRE (PHP <7.3)
http://blog.jmsinfo.co/?d=2015/02/16/10/17/49
Submitted by
Mickaël S.
-
9 years ago
0
For justin
PCRE (PHP <7.3)
dis is why you match shit lots
Submitted by
anonymous
-
9 years ago
25
Quote Macthing with escape
ECMAScript (JavaScript)
Matches text within quotes (", ') and escapes the charecters.
Submitted by
Vihan Bhargava
-
9 years ago
2
Dotted Decimal IPv4 Adress (for programming languages)
PCRE (PHP <7.3)
Searches for dotted decimal IPv4 Adresses and saves the numbers in match groups.
Submitted by
anonymous
-
9 years ago
1
...
682
683
684
685
686
...
735
Minecraft Entity Target Splitter
2
Regular Expression
PCRE (PHP <7.3)
/
(?<name>
\w
+
)
=
(?<value>
.
+
?
)
(?=
[
,
\]
]
)
(?#The
following
text
makes
sure
that
the
match
isn't
inside
quotes,
#found_on_internet
)
(?=
(
[^
"
\\
]
*
(
\\
.
|
"
(
[^
"
\\
]
*
\\
.
)*
[^
"
\\
]
*
"
)
)*
[^
"
]
*
$
)
/
g
Open regex in editor
Description
Regex to match part of minecraft command entity targets
Submitted by
aziis98
-
10 years ago