I have a string time format like this 'd-m-Y H:i', I want to format it like this '%d-%m-%Y %H:%i'.
so how do I prepend each letter with % using regex
I have a string time format like this 'd-m-Y H:i', I want to format it like this '%d-%m-%Y %H:%i'.
so how do I prepend each letter with % using regex
برچسب:
نویسنده: استخدام کار