• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
+ 2

How to automaticly delete all numbers in var

E.g. Input . Y6y6y6 Output. Yyy

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

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Which is easier to learn first between python and JS?
0 Votes
API
0 Votes
Does sololearn teaches on how to create games
0 Votes
Sockets, etc
0 Votes
Quiz
0 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
Necesitó ayuda
1 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
Controls issue
0 Votes
Excuse me, why do they always ask us to input without telling us what it is for in python.
1 Votes