Posted By

kokikr on 04/07/09


regex php textmate

Versions (?)

regexp match tide data

 / Published in: PHP

  1. preg_match_all("/(dd/dd/dddd)[^d]*(dd:dd(?:AM|PM))s+(?:LST|LDT)s[^LH]*(L|H)s+(dd:dd(?:AM|PM))s+(?:LST|LDT)s[^LH]*(L|H)s+(dd:dd(?:AM|PM))s+(?:LST|LDT)s[^LH]*(L|H)(?:s+(dd:dd(?:AM|PM))s+(?:LST|LDT)s[^LH]*(L|H)s*)*/mis",$rawTideData,$matches);

Report this snippet  


RSS Icon Subscribe to comments
Posted By: MMDeveloper on April 8, 2009

good grief I'd hate to be the person who has to maintain/modify that one :P

You need to login to post a comment.