in reply to Need help with regex

I've had a similar thing I just used substr to get my info.

Replies are listed 'Best First'.
RE (tilly) 2: Need help with regex
by tilly (Archbishop) on Sep 22, 2000 at 03:06 UTC
    Trust me, unpack is nicer if you need to get a lot of fields. For this kind of text your format can simply just use "a" and "x". For instance to get 5, skip 5, then get 5 characters use "a5x5a5". Very handy for turning columns into lists... Cheers, Ben