Generate date range regex, PHP.