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