From 511dc5eeed1e9fec6440c934559be81bd5be8f49 Mon Sep 17 00:00:00 2001 From: Max Castro Date: Tue, 5 Jan 2021 22:47:17 -0400 Subject: [PATCH] Update Str.php --- src/Support/Str.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Support/Str.php b/src/Support/Str.php index 010b8f3d..edcf7a23 100644 --- a/src/Support/Str.php +++ b/src/Support/Str.php @@ -218,6 +218,6 @@ public static function letterPlusNumber(string $letter, int $number) : string */ public static function cleanup(string $string) : string { - return preg_replace("/[^a-zA-Z0-9\s]/", '', $string); + return preg_replace("/[^a-zA-Z0-9_\s]/", '', $string); } }