Regular Expressions 101

Library entries

Get HTML DIV content

Vote

-2

Regular Expression
pcre

/
<div[^<>]*>([\s\S]*?)<\/div>
/

Description

Loading markdown...
Submitted by Ivan Milazzotti - 6 years ago