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
Relevance
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 120 community submitted regex patterns...
1
Find location of Open Search Description XML file
PCRE (PHP <7.3)
Find the location (HREF value) of the Open Search Description link tag.
Submitted by
Evander Consus
-
9 years ago
1
Find location of Open Search Description XML file
PCRE (PHP <7.3)
Find the location (HREF value) of the Open Search Description link tag.
Submitted by
Evander Consus
-
9 years ago
1
OdiScenarioFolder filter on smartexport xml
PCRE (PHP <7.3)
OdiScenarioFolder filter on smartexport xml
Submitted by
Angelo
-
9 years ago
0
Xml Parser!
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. --- Apply same pattern on capture group #3 (using recursion) to parse entire xml! --- Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
9 years ago
-3
Xml Parser (improved description)
PCRE (PHP <7.3)
]+)\s()\s(?:\/>|>(.)) - (with global) finds all tags in scope 1st group is tagname 2nd group is attributes 3rd group (if it exists) is value of the tag ...
Submitted by
veryanonymous
-
9 years ago
1
XML URL
ECMAScript (JavaScript)
validates an xml URL. Allows ips and domain names
Submitted by
allofus
-
9 years ago
1
Find All Types In Salesforce's Package.xml
PCRE (PHP <7.3)
This regex will find all the types definitions following the
Submitted by
Jerome Russ
-
9 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
-
9 years ago
0
Del space
PCRE (PHP <7.3)
Delete speces at XML
Submitted by
E_Ch
-
10 years ago
2
extract node values from xml string
PCRE (PHP <7.3)
extract node values from xml string
Submitted by
anonymous
-
10 years ago
0
ContentPlace Xml Tag
ECMAScript (JavaScript)
ContentPlace Xml Tag
Submitted by
Saeed Tabrizi
-
10 years ago
0
Yealink XML Phone book entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Yealink XML Phonebook entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-1
XML matching nodes
PCRE (PHP <7.3)
This regex matches opening and closing tags in XML (including attributes) and is used to "hide" the value of the node.
Submitted by
Marc Fellman
-
10 years ago
1
Xml/html regex
PCRE (PHP <7.3)
Common regex for use with xml/html files
Submitted by
wonzbak
-
10 years ago
0
Add xml:space to file
PCRE (PHP <7.3)
no description available
Submitted by
Yu Tang
-
10 years ago
0
Validation for SEPA-XML-Text
ECMAScript (JavaScript)
This RegEx checks if a text is valid for a SEPA-XML-File. It should be helpfull if you want to implement payment information to your site and don“t wont to get into trouble with char conversion that is done by your bank.
Submitted by
anonymous
-
10 years ago
-1
xml
Python
no description available
Submitted by
anonymous
-
10 years ago
0
RegEx for weaterdata from a YR xml file
Python
no description available
Submitted by
Noko
-
10 years ago
1
Find legacy PHP opening tags
PCRE (PHP <7.3)
Matches <? not followed by a p or an x (finds <? and <?=, ignores <?php and <?xml
Submitted by
anonymous
-
10 years ago
1
...
3
4
5
6