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 -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -