$new_string = preg_replace("/[^a-zA-Z0-9-\/ns]/", "", $string);
I want to keep spaces and line feeds to, how do i fix this regex, php.net isnt helpful to this granularity .
greetings, fellow internet!$new_string = preg_replace("/[^a-zA-Z0-9-\/ns]/", "", $string);
I want to keep spaces and line feeds to, how do i fix this regex, php.net isnt helpful to this granularity .
Bookmarks