Regular Expressions 101

Community Patterns

get url from sitemap.xml

0

Regular Expression
PCRE (PHP <7.3)

/
.*((news|http|ftp|https):\/\/[\w\-_]+(\.[\w]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?).*
/
gm

Description

get url's from sitemap.xml

Submitted by anonymous - 5 years ago