> I'm having a hard time with CF's implementation of REGEX. Somehow > they got > it in their head that using a dot "." is a good choice for indication > an > end-of-line instead of "$" (at end of line) or "\r|\lf". Which version of CF are you using? I'm looking at the Docs for MX, and they state: -- $ If the dollar sign is at the end of a regular expression, the matched string must be at the end of the string being searched. For example, the regular expression "ColdFusion$" matches the string "I like ColdFusion" but not the string "ColdFusion is fun." -- '.' is not an end of line for a regex -- . A period matches any character, including newline. To match any character except a newline, use [^#chr(13)##chr(10)#], which excludes the ASCII carriage return and line feed codes. The corresponding escape codes are \r and \n. -- HTH Mark ----------------------------------- mark@safefrombees.com ICQ: 3094740 Safe From Bees [www.safefrombees.com]