RewriteRule regex question

Any questions involving matching text strings to patterns - the pattern is called a "regular expression."

Moderator: General Moderators

Locked
HiddenS3crets
Forum Contributor
Posts: 119
Joined: Fri Apr 22, 2005 12:23 pm
Location: USA

RewriteRule regex question

Post by HiddenS3crets »

I have been trying to write an expression that will match any string except for strings that are explicitly specified in the code.

e.g. An expression that will match any string except for "cat" and "dog"
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

For simplicities sake, just str_replace() all of the specified strings out of the data.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

This is the same topic as your previous thread now residing in Installation. I'm afraid I have to lock it.
Locked