Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
((.|\n)*)\w+ (today |tommorrow |day after tommorrow |next moth |next week |next day |next year |(january|february|march|april|may|june|july|august|september|october|november|december) \d{2} )(at|@) ((0?[0-9]|1[012])([:. ][0-9]{2})?(\s?[ap]m)|([01]?[0-9]|2[0-3])([:.][0-9]{2})?).*
/
g

Description

no description available

Submitted by lokesh_sharma - 8 years ago