how to trim the 0

hi all,

  I want to remove o, which is present in the before statement, like

@a=EDIA00050 (in this EDIA is common) @t=@a.spilt("EDIA") render_text @t[1]

a =~ /0*([1-9]\d*)/ puts $1

Fred