Fixed deprecated preg/e into preg_replace_callback

Check out string bitwise here: http://stackoverflow.com/a/16175931/731947

Cheers!