スペースに変換したい句読点を含む文字列がたくさんあります。
"This is a string. In addition, this is a string (with one more)."
次のようになります。
"This is a string In addition this is a string with one more "
stringr
パッケージ ( ) 句読点記号を一度に 1 つずつ (, / . / ! / ( / ) / など)手動で実行することもできますが、str_replace_all()
正規表現を使用すると想定するより高速な方法があるかどうか知りたいです.
助言がありますか?