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

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -