Regular expression modifies date format

can I use regular expressions to modify the date format
7-10 to July 10
10-10 to October 10

Apr.01,2021

"7-10". Replace (/ (\ d +)-(\ d +) / g,'$January $2'); 10-10 in the same way

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b22768-4065c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b22768-4065c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?