Check out example codes for "c# replace all non numeric characters". It will help you in understanding the concepts better.

Code Example 1

var input = "+33 06 06-78-75 aze";
var result = new string(input.Where(c => char.IsDigit(c)).ToArray());
//result => "3306067875"

Learn ReactJs, React Native from akashmittal.com