From: "Nik Z." Date: 2011-11-16T11:16:32+09:00 Subject: Re: Regex to divide document into sections? Hi, This is as best as I can go (with a limitation from Ruby's Regexp LookBehind). It does not allow me to do variable numbers of digits; therefore the following will work as long your digits are all single; else, if you have w=23, then kaput... #/usr/bin/ruby string =<