$string = "hello world"; print $string =~ /^.{6}(.{5})/; [download]
In reply to Re: substr regex alternative by jwkrahn in thread substr regex alternative by Anonymous Monk