https://www.php-resource.de/forum/php-developer-forum/13790-regular-expression-problem