JavaScript: Search and don't replace

26 points by bdfh42

Read the article

Discussion on Hacker News