What would be the best paterrn for regex to leave only digits, letters, spaces and new lines?
I’m guessing it should be:
System.Text.RegularExpressions.Regex.Replace(myStr, “pattern”,"") but I don’t know the right “pattern”.
This myStr come from OCR (scan) and there could be a lot of characters like . , & ^ % and many others.