extractVowels function

String extractVowels(
  1. String string
)

Implementation

String extractVowels(String string) {
  return string.replaceAll(RegExp('[^AEIOU]', caseSensitive: false, multiLine: true), '');
}