samedi 27 juin 2015

Javascript splitting between number and string with regexp

How can I split following string:

1D11M58S

by means of regexp in javascript?

My result should be:

[1D, 11M, 58S]

thanks

Aucun commentaire:

Enregistrer un commentaire