\starttext

    \removepunctuation\space test test

    test \removepunctuation\removeunwantedspaces\space test test

    test\removepunctuation\space test test

    test,\removepunctuation\space test test

\stoptext
