Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(<svg\:a\s([\w\:]+\=\"[\w\.\/\:\_\-\s]+\"\s*)+>)(<svg\:rect (\w+\=\"\d+\"\s)+(width\=\"16\"\s|height\=\"16\"\s)+(\w+=\"[\w\s\.\-\:\#\;]+\") \/>)(<\/svg\:a>)(<svg\:a\s([\w\:]+\=\"[\w\.\/\:\-\s]+\"\s*)+>)(<svg\:text\s([\w\-]+\=\"[\d\w]+\"\s*)+>)([\w\.]+)(<\/svg:text><\/svg:a>)
/
g

Description

no description available

Submitted by Clowreed - 9 years ago