Re: Removing UTF-8 from text
| From: | Dotan Cohen | Date: | Wed, 03 Jan 2007 20:41:54 +0000 |
| Subject: | Re: Removing UTF-8 from text | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246482@lists.php.net to get a copy of this message | ||
On 03/01/07, Richard Lynch <ceo@l-i-e.com> wrote:
Instead of trying to strip the UTF stuff out, try to capture the part you want: preg_match_all('|<[^>]>|ms', $emails, $output); var_dump($output);Richard, I do have a working script now, but I'm intrigued by your regex. Why do you surround the needle with pipes, and what is the "ms" for? Dotan Cohen http://lyricslist.com/lyrics/artist_albums/336/mclachlan_sarah.html http://what-is-what.com/what_is/world_wide_web.html