The telegraph office charges by the letter, so a thrifty sender strikes every vowel out of the message s. Return the message with each a, e, i, o and u removed, capital or not. Everything else (consonants, digits, spaces, punctuation) stays where it was, in its original case. y counts as a consonant here.
Examples
Input: s = "Queue at Gate B4, Aisle 7!"
Output: "Q t Gt B4, sl 7!"
Input: s = "AEIOU"
Output: ""
Constraints
0 <= len(s) <= 5000smay contain letters, digits, spaces and punctuation
Goals
- Filter characters out of a string
- Compare case-insensitively while keeping the original characters