Regular Expressions 101

Library entries

Find all Twitter Bootstrap Buttons

Vote

1

Regular Expression
python

"
<(?:button|input|a)\s+[^>]*class\s*=\s*["'][^"']*btn[^"']*[^>]*>
"
gmi

Description

Loading markdown...
Submitted by anonymous - 6 years ago