Im a newbie to regex and im involved in a project where I need to detect if a sentence has a date in the format of MM/DD.
ex :- "November 23rd, Dec 5th, January 1st, March 2nd"
If it detects a date given in this format it must swap the two words. ex : If the date detected in the sentence is "November 23rd" swap it so it will be "23rd November"
How must the regex pattern be structured for me to achieve this?