I need the str_replace line of code below to match only when inside a where there will be other random stuff, too (so maybe w
str_replace