Regular Expressions 101

Library entries

get specific value from html tag

Vote

4

Regular Expression
pcre

/
<div[^>]+id\s*=\s*['"]([^'"]+)['"][^>]*>
/
gi

Description

Loading markdown...
Submitted by A.ROA - 5 years ago