mercredi 27 février 2019

How to get it using javascript regular expressions?

When there is such a sentence

var str = "blah blah blahblahblahblahblahblah blahblah test(abc; zxc; 100; 305.0)"

I want to get the value '305.0' when there is a 'test' word. How to get it using javascript regular expressions?




Aucun commentaire:

Enregistrer un commentaire