如果我有一個包含任何類型的非字母數字字符的字符串:"This., -/ is #! an $ % ^ & * example ;: {} of a = -_ string with `~)() punctuation"我如何在JavaScript中獲得它的無標點版本:"This is an example of a string with punctuation"
如何使用正則表達式從JavaScript中刪除字符串中的所有標點符號?
慕沐林林
2019-08-31 10:45:35