Wednesday, August 26, 2009, 6:48:17 PM, Patrick wrote: > /\[@(?!.*@\])/ > Broken down: > / \[@ (?! .* @\] ) / > The first part finds [@. The (?!...) is a negative lookahead. > The .* and @\] look for any subsequent @]. negative lookahead! works great, thanks! Hans