I have Unicode newline characters in a string in which I need to remove.
These characters can be carriage return \U000D, newline \U000A, line separator or paragraph separator.
I am able to remove the carriage return and newline characters by using the following.
gsub("\\s", "", x)
Like I said this works fine for those Unicode characters, but I am not able to remove the the line separator \U2028 or paragraph separator \U2029 characters.
Is there another way to do this?
 
     
    