In this challenge, it's time to ban some impenitent digit!
Your job is to delete the digits of a given number that, within their name written in English, contain a given vowel.
Given an integer n, and a string ban being the vowel to search, implement a function that returns:
n, the same n.n has at least a digit that contains the given vowel in its name, the new integer obtained after the elimination of banned digits (as a natural number without leading zeros).n are banned, a string "Banned Number".digitalVowelBan(143, "o") ➞ 3
// 1 = "One" contains "o" (banned).
// 4 = "Four" contains "o" (banned).
// 3 = "Three" is safe.
digitalVowelBan(14266330, "e") ➞ 4266
// "One" contains "e" (banned).
// "Four", "Two" and "Six" are safe.
// "Three" and "Zero" contain "e" (banned).
digitalVowelBan(4020, "u") ➞ 20
// "Four" contains "u" (banned).
// Leading zeros are not considered.
digitalVowelBan(586, "i") ➞ "Banned Number"
// All digits ("Five, "Eight", "Six") contain "i".
Every given number will be a positive integer greater than 0.