Hi, I am trying to use regular expressions in a replace with preg_replace, but I cannot figure out what the search pattern should be... I have read an article on this site that shows some, but not this... the PHP manual is... not helpful at all about this.
Can someone point me to some tutorial about it and/or post the answer?
I am trying to replace this:
<!--#BlahBlahblah("something1", "something2", "something3")#--> and then use something1, something2 and 3 in the replace without the "s.
I tried some, but always got some error... here is the one I tried last after trying to figure it out for a while.
echo preg_replace('(<!--#blah\()(")([^"]*)(",")([^"]*)(",")([^"]*)(")(\)#-->)',