3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'love@outerbanks.org  '; preg_match('/^\x{c2a0}*(.*)\x{c2a0}*$/u', $string, $out); var_dump($out);

preferences:
39.36 ms | 402 KiB | 5 Q