Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
<span class="Regular"[^<>]*>(.*?)<\/span>
/

Description

Get an specific <span> html tag and return his content

Submitted by Ivan Milazzotti - 9 years ago