Re: Accented character in Regex.
| From: | Nathan Rixham | Date: | Mon, 17 Nov 2008 17:43:37 +0000 |
| Subject: | Re: Accented character in Regex. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283377@lists.php.net to get a copy of this message | ||
Nathan Rixham wrote:
Shiplu wrote:sorry.. lowercase "u" for utf8! (U is ungreedy)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?