if (stri_install_check(silent=TRUE))
stri_replace_all_charclass("a\nb\tc   d", "\\p{WHITE_SPACE}", "")
if (stri_install_check(silent=TRUE))
stri_replace_all_charclass("a\nb\tc   d", "\\p{WHITE_SPACE}", "", TRUE)Run the code above in your browser using DataLab