I'll try that, didn't know js regexps supported backreferences