I hope somebody can help me with a question regarding an expression within the Regexp Plugin. I need to replace a string like
This basically an ASCII representation of emojis which do not get interpreted. I have played around a little with the plugin and ended up with\ud83d\ude0a\ud83d\ude0a\ud83d\ude0a
Code: Select all
$regexpArray = array(
'SearchArray' => array("/[^\w]\\\u([\w]+)/i"),
'ReplaceArray' => array(' test')
);
Does anybody have an idea what expression I have to configure to replace the hole string?test\ud83d\ude0a\ud83d\ude0a
Thanks in advance!