Check out example codes for "how to remove vowels from a sttring using regex c#". It will help you in understanding the concepts better.

Code Example 1

string resultString = null;
try {
    resultString = Regex.Replace(subjectString, "(?<!^)[aeui](?!$)", "");
} catch (ArgumentException ex) {
    // Syntax error in the regular expression
}

Learn ReactJs, React Native from akashmittal.com