2010年6月21日 星期一

php utf8中文正規表示式

```php preg_match_all('~[\x{4e00}-\x{9fa5}]+~u', $string, $matches); var_dump($matches); ```

沒有留言:

張貼留言