s/^0+(?=.)//s [download]
In reply to Re: RegEx to remove leading zeros from a hex number by ikegami in thread RegEx to remove leading zeros from a hex number by Karger78