On Friday 12 August 2005 09:29 pm, Christopher Fowler wrote: What I think you're looking for is called a "zero-length negative look behind". Not all regex's engines support them. /(?<!%\s)XMI001/ David