ok so i am pulling my hair out here trying to figure out why php doesnt want to work right with this reg expression
what i am looking for
{blog:name_of_blog}
what i have
preg_match_all('\{blog:[A-Za-z0-9_]+\}', $replaced_content, $matches, PREG_SET_ORDER);
this is the error it is out putting
Warning: preg_match_all() [function.preg-match-all]: Delimiter must not be alphanumeric or backslash in
where i tested it
http://www.regexpal.com/?flags=®ex=\{blog%3A[A-Za-z0-9_]%2B\}&input={blog%3Ablog_name_here}
please help. ive started to understand reg expressions more but this error just does make sense to me
thanks in advance