KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
To match the following: On Mar 3, 2011 11:05 AM, "mr person" wrote: I have the following regular expression: /(On.* (?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d{1,2}, [12]\d{3}.* at \d{1,2}:\d{1,2} (?:AM|PM),.*wrote:)/m Is there a way to make the at optional? so if it's there great, if not, it still matches?
Tags (comma-separated)
Save Edits
Cancel