+ 2

How to automaticly delete all numbers in var

E.g. Input . Y6y6y6 Output. Yyy

4th Mar 2020, 2:09 PM
Albert Margaryan
Albert Margaryan - avatar
1 Réponse
+ 5
output = input.replace(/[\d]/g,"") https://www.sololearn.com/learn/9704/?ref=app
4th Mar 2020, 3:44 PM
Kevin ★