dixflatlinr/preg_return (packagist): Preg_match that returns the result(s) of your choice.
Keywords: regex|PCRE|preg_match|preg_match_all|preg_replace|preg_return|preg_return_all|preg_return_replace|pregReturn|pregReturnAll|pregReturnReplace