On 11/5/05, Andy Pieters <mailings@xxxxxxxxxxxxxxxx> wrote:>> I am doing some data validation and the following regexp fails> [\W]> When using characters like £ or €> The script is encoded in UTF-8 Are you using the 'u' modifier to put PCRE in utf-8 mode? preg_match( '/\W/u', $text); -robin