<?php $string = <<<STRING This, actually, is (a) nice' old'er string, as Raphaƫl said, "divided and conquered"! STRING; var_export( preg_match_all("~[\pL\pM]+[\pL\pM'-]*(?<!['-])~u", $string, $matches) ? $matches[0] : [] );
You have javascript disabled. You will not be able to edit any code.