Skip to content

Commit

Permalink
Update Str.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kaioken authored Jan 6, 2021
1 parent 5dbb33e commit 511dc5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 511dc5e

Please sign in to comment.