removeAllEmojisExcept

Removes all the emojis in a String except a provided set

Return

the string without the emojis that were removed

Parameters

str

the string to process

emojisToKeep

the emojis to keep in this string