<?php mb_ereg_replace( string $pattern, string $replacement, string $string, ?string $options = null): string|false|null
<?php private function preformat($raw_query) { return trim(mb_ereg_replace("[^\w\d\-\.:+\s&’'‘]", '', $raw_query)); }