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,600 community submitted regex patterns...
1
Get table name from query
PCRE (PHP <7.3)
this extracts the table name in the from or join clause from SQL query
Submitted by
vwei02
-
8 years ago
1
Get 3 segment nz table name
PCRE (PHP <7.3)
no description available
Submitted by
vwei02
-
8 years ago
3
french phone number + match right part
PCRE (PHP <7.3)
Matches french numbers (not special numbers like 115, 18). First matching group contains the right part without prefix (0, +33, 33, 033, or 0033).
Submitted by
xdrm-brackets
-
8 years ago
2
DNS and lenght
PCRE (PHP <7.3)
Ideal for filter Domain with or without subdomain, and length less than 256.
Submitted by
Presta-Lab
-
8 years ago
1
Pubmed Dates
PCRE (PHP <7.3)
PubMEd XML contains multiple date blocks, with or without Month, day, hour, minute. USAGE: while(my($pubstatus,$year,$month,$day,$hour,$minute)= $article =~ m% (?:\s* (?:\s(\d?)\s)* (?:\s(\d?)(?:)?\s)...
Submitted by
Andy Reid
-
8 years ago
1
Parse Youtube links
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Space replacement
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
lesson 4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
HTML hyperlinks
PCRE (PHP <7.3)
Match all Hyperlinks
Submitted by
anonymous
-
8 years ago
1
Pro Football Weekely - Green Bay Packers
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
Match localizable strings
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
dsadsa
PCRE (PHP <7.3)
dsadsadsa
Submitted by
dsadsadsa
-
8 years ago
1
AddTable
PCRE (PHP <7.3)
Add T001 table
Submitted by
Hugo A.
-
8 years ago
1
Regex Phone fr
PCRE (PHP <7.3)
avec - et . accept
Submitted by
jenaye
-
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
Speed index
PCRE (PHP <7.3)
For tires
Submitted by
Zavs
-
8 years ago
0
kfz
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
449
450
451
452
453
...
580
JS Variable Parser
1
Regular Expression
PCRE (PHP <7.3)
/
(
var
\s
+
(
\w
[
\w
\-\_
]
*
)
\s
*
(?:
=
\s
*
(
\d
+
|
[
'"
]
[
\w\W
]
+
[
'"
]
)
)?
;
?
)
/
gm
Open regex in editor
Description
Parses variables for Javascript.
Submitted by
anonymous
-
8 years ago