From: spiralofhope Date: 2009-09-04T23:38:39+09:00 Subject: Re: Regular expressions - string substitution On Fri, 4 Sep 2009 23:24:34 +0900 Ne Scripter wrote: > string.gsub(/^0/, "") Try something like this: string.gsub(/^0*/, "") This means: 0 or more occurrences of character "0", starting at the beginning of the string. -- http://spiralofhope.com