PHP


PHP Replace Words in String but not inside Tags

January 26, 2011 PHP
Thumbnail image for PHP Replace Words in String but not inside Tags

Need to replace words in a text whilst ignoring HTML tags? Here is a regex pattern that might point you in the right direction.

Read the full article →