in reply to RegEx to remove leading zeros from a hex number

s/^0+(.+)//s This one even capture if the input is 000 o/p-0
  • Comment on Re: RegEx to remove leading zeros from a hex number