Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
Python

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

Description

Find all twitter bootstrap buttons with class "btn".

Submitted by anonymous - 9 years ago