Re: Accented character in Regex.

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

 



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?

--
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