+ 9

[Challenge] Print only vowels

For example, Input: example Output: eae better if u do it in 1 line of code Any language is welcome! code example: https://code.sololearn.com/WZCEtQbQUKBK/?ref=app ps.This is my first challenge

30th Oct 2017, 11:14 PM
Lili
Lili - avatar
18 Antworten
31st Oct 2017, 8:24 AM
LukArToDo
LukArToDo - avatar
+ 14
https://code.sololearn.com/cQJ1LIVU6NdQ/?ref=app
31st Oct 2017, 3:19 AM
qwerty
qwerty - avatar
+ 5
JavaScript: var a = prompt('Enter string:'); alert(a.replace(/[^aeiou]+/gi,''));
31st Oct 2017, 12:37 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
31st Oct 2017, 11:27 AM
Ferhat Sevim
Ferhat Sevim - avatar
+ 5
lang : CPP Here's mine : https://code.sololearn.com/cwjnCcS5Lyti/#cpp But IK this is a really big code, but don't worry I will code this in a single line xD
31st Oct 2017, 1:16 PM
Maneesh Pradeep
Maneesh Pradeep - avatar
+ 5
2nd Mar 2018, 8:02 PM
UnknownYmous
+ 4
Python: print("".join([e for e in input() if e.lower() in "aeiou"]))
30th Oct 2017, 11:20 PM
LunarCoffee
LunarCoffee - avatar
+ 4
Nice Witty Phantom
30th Oct 2017, 11:58 PM
Lili
Lili - avatar
+ 4
Do you like mine? @N3KO
31st Oct 2017, 1:15 PM
Maneesh Pradeep
Maneesh Pradeep - avatar
+ 4
thx
31st Oct 2017, 4:11 PM
Maneesh Pradeep
Maneesh Pradeep - avatar
+ 3
30th Oct 2017, 11:22 PM
Witty Phantom
Witty Phantom - avatar
+ 3
Nice Niawahta
30th Oct 2017, 11:58 PM
Lili
Lili - avatar
31st Oct 2017, 4:53 AM
Karuntos
Karuntos - avatar
31st Oct 2017, 12:27 PM
All Man
All Man - avatar
+ 2
yup @Maneesh Pradeep
31st Oct 2017, 4:04 PM
Lili
Lili - avatar
4th Nov 2017, 8:00 AM
Vari93
Vari93 - avatar
+ 1
In Ruby - a one-liner outputting both original and edited word: puts (input = gets.chomp) + " => " + input.gsub(/[^aeiou]/,"")
1st Nov 2017, 4:45 AM
André
André - avatar
4th Nov 2017, 6:56 PM
Paul van Schalkwyk
Paul van Schalkwyk - avatar