Junk Character

Hi all
How to avoid the junk Characters from the sentence or paragraph for particular Indian Language?

sample junk characters ??

@baisilgee plz attach any screenshot of that.

this is seems to be like this ’

Also we can call it like Garbage Character.

Maybe the regex expression will help you in replacing all junk characters. Try the below one. Not yet tested.

strResult = Regex.Replace(yourString, "[^a-zA-Z0-9_.]+", "", RegexOptions.Compiled)

Karthik Byggari

Thanks to @KarthikByggari,

This is we can use for English but what about other languages like Hindi and all…