I'm not great with regex and I am trying to search a string for "&option=" plus a number [0-100].
So far i have this :
$link = str_replace("^&option[0-9]"," ",$actual_link);
Can any one help me with the correct regex expression?
Whatever its
And I don't think you need that |
|||||||||
|
preg_replace
as opposed tostr_replace
– Ohgodwhy Mar 29 '14 at 21:57