I was trying to find regex for a date and time picker in JavaScript

which format is hh/mm ampm and dd/mm/yyyy hh/mm ampm.
I tried ([0-3][0-9])([0][1-9]|[1][0-2])-\d{4} ( ([0-1][0-9]|[2][0-4]):[0-5][0-9]) but doesnt seem to work cuz / apparently is not a normal simbol.
What is the correct regular expresion? RegEx has always been hard for me