I have this text: nisi non text600 elit , where 600 is added dynamically. How can i get it?
var str = ('nisi non text600 elit').match(/text\d+/);
alert(str);
This warns text600 , how can I warn only 600 without further replacing the word text (if possible)?
Any help is appreciated, thanks!
source
share