Regular Expressions 101

Community Patterns

Get specific <span> tag

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