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...
0
Remove XML whitespace
PCRE2 (PHP >=7.3)
Removes whitespace around XML elements and trims the content
Submitted by
anonymous
-
2 years ago
0
Match XML Comment
PCRE2 (PHP >=7.3)
Match any XML comment in an XML Document
Submitted by
Anthony Bateman
-
2 years ago
1
Comments in XML document
PCRE (PHP <7.3)
Match comments in a XML document.
Submitted by
Jared Rummler
-
12 years ago
1
from Google-Maps
ECMAScript (JavaScript)
results all street-adresses from http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=
Submitted by
PierreSash
-
11 years ago
1
Extract names of XML attributes that have values
PCRE (PHP <7.3)
Extracts attribute names from an XML file and presents them as a simple list. Affects only the attributes that have values. Ignores the "parent" attributes (that have no values but have nested attributes).
Submitted by
O.Khilkevych / D.Mrachkovsyi
-
10 years ago
1
any tag
PCRE (PHP <7.3)
regex used to search for any tag (both html and xml)
Submitted by
dasmi
-
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
Xml/html regex
PCRE (PHP <7.3)
Common regex for use with xml/html files
Submitted by
wonzbak
-
10 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
-
10 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
-
10 years ago
1
XML URL
ECMAScript (JavaScript)
validates an xml URL. Allows ips and domain names
Submitted by
allofus
-
9 years ago
1
OdiScenarioFolder filter on smartexport xml
PCRE (PHP <7.3)
OdiScenarioFolder filter on smartexport xml
Submitted by
Angelo
-
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
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
Extract XML node value
PCRE (PHP <7.3)
This regexp extracts a value from any XML node string
Submitted by
Andrew Kovalenko
-
9 years ago
1
XML regex ADK
PCRE (PHP <7.3)
no description available
Submitted by
Arjen
-
9 years ago
1
Match arbitary metadata in WordPress export XML
ECMAScript (JavaScript)
Allows for easy removal of metadata in WP export file
Submitted by
anonymous
-
9 years ago
1
XML Double Tag
PCRE (PHP <7.3)
no description available
Submitted by
Donovan
-
9 years ago
1
Fontawesome - Icon parser (hex + title)
PCRE (PHP <7.3)
Page with icons PHP example: Generate xml for android resources header('Content-Description: File Transfer'); header("Content-Type: text/xml");...
Submitted by
IgorSkv
-
9 years ago
1
Return XML tag where attribute value equals X
PCRE (PHP <7.3)
Return XML tag where attribute value equals X
Submitted by
anonymous
-
9 years ago
1
...
3
4
5
6