Regular Expressions 101

Community Patterns

HTML <input> tags of type hidden but with the required attribute set

1

Regular Expression
ECMAScript (JavaScript)

/
<input\s.*(?:type=['"]?hidden['"]?).*"?required"?.*\s?\/?>
/
g

Description

no description available

Submitted by Paul Sturm - 8 years ago