Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $replace = array(" ",".",",","'","@");
- $newString = str_replace($replace,"_",$join);
- $join = "the original string i'm parsing through";
- $newString = preg_replace('/[^a-z0-9]/i', '_', $join);
- preg_replace('/[^a-zA-Z0-9]/', "_", $join);
- preg_replace('/W/', '_', $join);
Add Comment
Please, Sign In to add comment