PHP - Regular Expression to Remove Single Quotes From Beginning and End of a String
I have a string variable like $string = "'dj12JKmi3433Kl09'". How to remove the single quotes ' from the beginning and end of the string using a preg_replace function? Thanks for your help.