Regular Expressions 101

Community Patterns

Community Library Entry

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