preg_replace('/test/', 'replacedtext', $text),1)
I need the following to replaced all instances but which is not in HTML tags. Excluding HTML tags. How would i do the line above excluding them?
Thank you :-)
I posted this a while back; does it help?