Detecting special characters PHP
<p>I am trying to check whether a string contains any special chars so I know what to do with it afterwards in my script.</p>

<p>Heres what I have:</p>

<pre><code>if (preg_match('/[^A-Z0-9_@£\$¥èéùìòÇØø\+%&amp;\!"#'\(\)\*,\-\.ÅåÆæß¤:;&lt;=&gt;?¡ÄÖÑÜ§¿äöñüà€ΓΔΘΛΞΠΣΦΨΩαβγδεζηθικλμνξοπρστυφχψωςέάόίώύήϊϋΐΰΆΈΊΉΌΎΏXΥΡΟΝΜΚΗΖΕΙΤΑΧΒ\^\{\}\\\[~\]\|\/ \n\r]/',$message)) {}
</code></pre>

<p>However I get the following error <code>syntax error, unexpected T_NS_SEPARATOR</code>.</p>