I am not a regex coder, but here is a real simple example of how to do this using other JSL functions:
Names Default To Here( 1 );
dt = New Table( "Example",
Add Rows( 3 ),
New Column( "test",
Character,
"Nominal",
Set Values( {"000123", "0AB", "XYZ"} )
)
);
For each row(
while(substr(:test,1,1)=="0",
:test = substr(:test,2)
)
);
Jim