Menu
hi,
I’m using preg_replace like this
preg_replace($urlin, $urlout, $content);
and the arrays are like this :
$urlin = array(
“‘(?<!/)index.php?name=([0-9a-zA-Z]+)&act=([0-9a-zA-Z-|.`[]
.
.
);
$urlout = array(
“
.
.
.
instead of [0-9a-zA-Z-|
I’ve tried something like this, But it doesn’t seem to work :
$urlin = array(
“‘(?<!/)index.php?name=(.+)&act=(.+)&act2=(.+)'”,
what should I use for it to take effect?
Thanks