Thanks Dave,

I was trying to use excel to do this, to test different patterns for the user. Makes sense as to why I couldn't do it, too bad we cant use perl syntax in excel The user is going to be using an editing program that allows different syntax's (but doesnt allow scripting for whatever reason), so I'm gonna go see if that will work or not. Personally I'd be glad to be rid of this whole situation, so I'm really hoping it will work!

I've got some time tonight to play around with your code, and have been paying attention to the refedit thread. I'll see if I can't find some of the more obscure errors and possible workarounds for you

Now, gimme points
Where am I, the lounge?