Re: Accented character in Regex.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nathan Rixham wrote:
Shiplu wrote:
How to match accented characters by preg match?? I need to match ">Sin
garantía<" by "/>([^<]+)</" but its capturing only "Sin garant"

Any idea?

convert to utf8 and use the U modifier on the regex string?

sorry.. lowercase "u" for utf8! (U is ungreedy)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux