regex - Regular Expression for Date (Month dd , yyyy) -
i've been using pdf compare tool (examdiff pro) , i'm trying figure out how exclude words match potential date. particular date format on document comparing uses like: "january 20 , 2014"
could help me figure out regex this?
i've found results similar questions, different plenty me not able figure out :/
thanks!
i've never used examdiff, looking @ regex help page them think can help.
i think next regex should dates in format specified.
\w+\s\d{2},\s\d{4}
explanation:
\w+ -- find 1 or more word characters \s -- white space character \d{2} -- 2 digits , -- literal comma \s -- space \d{4} -- 4 digits
regex date examdiff
No comments:
Post a Comment