Posted by Jon Slaughter on 05/05/07 09:50
"Michael Fesser" <netizen@gmx.de> wrote in message
news:9bko33pahg36eddgsc8pmoodd6qeis75sn@4ax.com...
> .oO(Jon Slaughter)
>
>>Can I use any reg exp(mainly for mod rewrite) where I can match any
>>character but a fixed list?
>
> Use a character class with a leading ^ to negate it:
>
> [^/]
>
> Matches anything that is not a slash.
>
Ok. Duh. wasn't putting 2 and 2 together. [^/] should match anything but a
slash. lol.
Thanks,
Jon
[Back to original message]
|