Allen

Late for an appoinement, but this should get you started.. I RegEx!! They are the core of most of my "one-liners" in Unix scripting.

"^" and "$" are "anchors" - they effectively anchor the data to the beginning or end of the line. The RegEx string "^xyz" effectively means "any string beginning with 'xyz'", while "xyz$" means "any string ending with 'xyz'". If you use both of them together, as Howard did, it means "any string that IS 'xyz'" - you've anchored the beginning and end of the string.

I'd have to review the UDF again as the syntax is similar but not identical, likely due to reserved chars.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D