how to remove vowels from a sttring using regex csharp
Code Example - how to remove vowels from a sttring using regex csharp
string resultString = null;
try {
resultString = Regex.Replace(subjectString, "(?<!^)[aeui](?!$)", "");
} catch (ArgumentException ex) {
// Syntax error in the regular expression
}