Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?:alt|title|value)="(.+?)"
/
g

Description

Allow get the value of the some attributes from a html text

Submitted by Marcelo Fuentes - 9 years ago