Answers for "how to remove vowels from a sttring using regex c#"

C#
0

how to remove vowels from a sttring using regex c#

string resultString = null;
try {
    resultString = Regex.Replace(subjectString, "(?<!^)[aeui](?!$)", "");
} catch (ArgumentException ex) {
    // Syntax error in the regular expression
}
Posted by: Guest on May-03-2020

Code answers related to "how to remove vowels from a sttring using regex c#"

C# Answers by Framework

Browse Popular Code Answers by Language