Hi,
i have a
$str = "test's file one";
i want output as
tests_file_one
using regular expression. Special character (single quotes in example) can any special character. Please help.
Thanks in advance.
replace everything that's not a letter or whitespace [^ a-z] with nothing
replace whitespace with _
Thanks a lot.