javascript - Catch first zero by regex -


i have string:

0012309test07

and want find first zeros , letters.

00 12309 test 07

sure found letters /[^\d]/, here's sample.

but how catch first zeros ?

use regexp \b0+|[a-za-z]+


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -