Regular Expressions

Matching a word / characters outside of html tags

Posted on January 4, 2008. Filed under: PHP, Regular Expressions | Tags: , , , |

Today I spent a good 2 hours on this very simple regEx problem. I tried googling just about every set of search terms I could think of, and didn’t find anything useful … basically I wanted to replace a certain word inside a string with another word, but not within html.
To do this I used [...]

Read Full Post | Make a Comment ( 5 so far )

Liked it here?
Why not try sites on the blogroll...