My problem is to remove emoji from a string, but not CJK (Chinese, Japanese, Korean) characters from a string using regex. I tried to use this regex:
REGEX =
CARE the answer from Aray have some side effects.
"-".gsub(/[^\p{L}\s]+/, '').squeeze(' ').strip => ""
even when this is suppose to be a simple minus (-)