My text files include dates in string fromat such as the following:
...the next social club meeting is on April 15, 1994...
...September 21-23, 1994 we will be hosting visitors...
...submissions should be made by 11 February 1994...
...Mail sent 7 Feb 1994...
...On the 16th September 1994 Mr X will be giving a talk on ...
...unconfirmed conference dates are March 4, 5 and 6, 1994...
(...is MY emphasis - for clarity's sake)
Have absolutely no knowledge of surrounding boundaries, nor where the strings can occur in the text, just got to pull them all out, so that I can then do some date normalisation...also, i've found that some of my strings are sometimes matching numeric strings...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.