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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 17,240 community submitted regex patterns...
1
Keep mutliple consective attributes
ECMAScript (JavaScript)
This regex keeps multiple attributes of given HTML tag. Given that required attributes are consective (in any order) and following the tag name.
Submitted by
Ahmad Ahsan
-
8 years ago
1
regex to find domain without instances being part of subdomain.domain
PCRE (PHP <7.3)
no description available
Submitted by
tripleee
-
8 years ago
1
Regex Phone fr
PCRE (PHP <7.3)
avec - et . accept
Submitted by
jenaye
-
8 years ago
1
AddTable
PCRE (PHP <7.3)
Add T001 table
Submitted by
Hugo A.
-
8 years ago
1
fieldOrderNumber
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Firstname Lastname(double)
ECMAScript (JavaScript)
Example: ANDA IVANOVA-KRIVONOGOVA
Submitted by
KSrGEAR
-
8 years ago
1
dsadsa
PCRE (PHP <7.3)
dsadsadsa
Submitted by
dsadsadsa
-
8 years ago
1
Find specific IPs and IP Patterns
PCRE (PHP <7.3)
Having a couple of groups of IPs for which you can establish some kind of pattern
Submitted by
anonymous
-
8 years ago
1
Match localizable strings
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Match localizable strings
PCRE (PHP <7.3)
no description available
Submitted by
LadyDascalie
-
8 years ago
1
Pro Football Weekely - Green Bay Packers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Stateless functional component matching
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Extron SMP351 info string
Python
Get the 7 values coming from the device (telnet port 23) after sending the get info (b'I\r') command.
Submitted by
FT
-
8 years ago
1
lesson 1
ECMAScript (JavaScript)
no description available
Submitted by
Anmol
-
8 years ago
1
HTML hyperlinks
PCRE (PHP <7.3)
Match all Hyperlinks
Submitted by
anonymous
-
8 years ago
1
lesson 4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
URL parser/validator
PCRE (PHP <7.3)
Validates and parses absolute URLs: Optional http:// or https:// at the start IPv4 supported, IPv6 NOT supported International characters (punycode) NOT supported Extracts scheme, username, password, IPv4 address or domain, port, path, querystring and fragment...
Submitted by
doin
-
8 years ago
1
BASE Amplicon filename parsing
Python
BASE Amplicon parsing
Submitted by
sthysel
-
8 years ago
1
Format phone number
ECMAScript (JavaScript)
no description available
Submitted by
andreasonny83
-
8 years ago
1
Parse Youtube links
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
203
204
205
206
207
...
862
Define and detect custom tag with specific prefix & suffix
1
Regular Expression
ECMAScript (JavaScript)
/
<:
(
[^
<:>
\s
]
+
?
)
:>
/
gm
Open regex in editor
Description
Define and detect custom tag with specific prefix & suffix
Define custom tag :
<:tag_name:>
.
Regex is
/<:([^<:>\s]+?):>/gm
.
Prefix is
<:
.
Suffix is
:>
.
tag_name
can not contain prefix, suffix, space, tab or newline character .
tag_name
can not be null .
You can get
tag_name
string use
$1
.
Prefix and suffix any unicode character , just use
\uXXXX
in regex.
Submitted by
ShenTengTu
-
7 years ago