Regular Expressions 101

Community Patterns

Jade file, change input type and add class

1

Regular Expression
ECMAScript (JavaScript)

/
(\()(.*)(type=\'date\')(.*)
/

Description

It change type='date' to type='text' and add the class .datepicker before the opening '('

Submitted by Eoifirst - 8 years ago