How can I replace two ( ) subsets in an eregi_replace?
My pattern is something like this:
(user-)*(-pass$)
I want to replace both subsets with ''.
How? 🙂
preg_replace("/(user-)|(-pass$) /",' ',$str);
Something like that?