Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My dataset has a column which has a name from a airbnb and that name has emojis and special characters. I want to remove them and let there only the letters.
Hi
Take a look at this article that shows different ways to remove emojis from a Java String. Using emoji library, regular expressions and Unicode ranges. For example, use regular expression on a tJavaRow:
output_row.text=input_row.replaceAll(context.regex, "");
//define a context variable which contains the regex expression: [^\\p{L}\\p{N}\\p{P}\\p{Z}]
Regards
Shong