I'm working with string which contains both english and Chinese characters. I want to single out each english word , non-english characters e.g. french, chinese etc., numbers and special characters e.g. "@#$%^&>?" for further manipulation.
So I tired
var nregex = /[^\u0000-\u007F]|[a-z]+|\d|[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/ig
It works for most of the case, but I'm worried some special characters or emoji not included in the list of my code.
Is there an easier way other than list all special characters as I did?