I am doing a data scrape of social media posts. Because a lot of the posts are posted on phones, the text may include emojis.
System.Text.RegularExpressions.Regex.Replace(variable, “[^a-z A-Z 0-9]”, “”)
The above regex unfortunately will leave me with only text and numbers
I want a way to be able basically keep that and only the basic characters that can be typed on a keyboard such as hashtag signs