parsing - How would you parse a date (of any reasonable format) from a big chunk of text? -
parsing - How would you parse a date (of any reasonable format) from a big chunk of text? -
trying parse emails flight information. have ways parse airline code, destination, flight number, etc... stuck on how parse date of flight. typically, flight confirmation emails different airlines have multiple dates in variety of formats.
for unstructured poorly formatted text utilize marpa::r2, perl interface marpa, general bnf parser. describe input bnf , marpa pretty much rest.
here output of marpa-based parser rather various php date formats.
hope helps.
parsing text
Comments
Post a Comment