DEV Community

loading...

Discussion on: Daily Challenge #148 - Disemvowel Trolls

Collapse
jaimesanchezm4 profile image
Jaime Sánchez M.

In Ts:

const removeVowels = (text: string) => text.replace(/[aeiou]/gi, '');