|
Requesting a RegExp...
I posted something pretty much the same in the "server side" forum, but realised that the JS folks might have more experience with this:
I'm simply looking to match "wordhere/" (ignore all my double quotes) where "wordhere" does not equal "admin" or "register". So this would be something like:
[^(admin|register)]+[\/]?
The trailing slash may or may not be there.
EDIT: Oh, and the "wordhere" needs to be captured. That's the trouble right there. Capturing the bugger is proving difficult.
Anyway, this doesn't work. Any ideas?
Thanks a whole heap in advance.
Last edited by AaronW; 10-05-2003 at 04:17 PM..
|