Javascript – Regex replacing blanks with `_` and removing all from a special symbol
Given a string, I want to remove all of the string from one of the symbols ., ? and : (so the output string does contain neither the symbol nor what follows it) and I want to replace all blanks…