Test, validate and match regular expressions
This regex matches dates formatted with a two-digit day, a three-letter capitalized month abbreviation, and a four-digit year (e.g., 01-Jan-2023 or 25.Dec.2024). It captures the date string and utilizes a backreference to ensure the delimiters between the day, month, and year are identical. Valid delimiters include hyphens, periods, forward slashes, and literal pipe characters. It is useful for extracting standardized date strings from text documents or log files.