From: Pit Capitain Date: 2006-05-25T04:41:24+09:00 Subject: Re: RegExp Problem John W. Long schrieb: > Still, it makes me wonder if it's possible to do it with back references. John, you can use negative lookahead: /(['"])((?!\1).)*\1!/ Regards, Pit