Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // For formats like 01/01/2012 or 30-12-11 or 1 2 1985
- preg_match( '/([0-9]?[0-9])[\.\-\/ ]?([0-1]?[0-9])[\.\-\/ ]?([0-9]{2,4})/', $string, $matches );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement