Quote Originally Posted by brettdj
You must have come accross some of my older posts as I haven't been hugely active lately. But yes, I am RegExp fan.
Yep, RegExp is fantastic when parsing/seraching a particular patterm
Ir wasn't necessarily solutions in RegExp that I referred to, but comments made. remember, I have only been on this board a month.

Quote Originally Posted by brettdj
But I figured it was more transparent to work with a shorter pattern and then post process in the code.
Take you point, but it would still be nice to see a complete RegExp solution, if only for the satisfaction of doing so. In many ways this is an intellectual exercise, as my code does what I want (within the limits of my testing thus far), but that doesn't mean I like it.

Quote Originally Posted by brettdj
One of VBscripts problems is that is doesn't have the lookahead or lookbehind capability of RegExp, this adds to the prework needed.
Don't quote me, check it yourself, but I think that VBScript 5.5 introduced look-ahead!

Quote Originally Posted by brettdj
I'll have a crack at this with as much RegExp as possible but I don' tthink it will be pretty.
That will be fine, no RegExp is pretty IMO.