If this means nothing to you ...

| No Comments

You've obviously never tried to use regular expressions to replace the contents of a div tag :)

$temp =  preg_replace('/(]*>)[^<]*(<\/span>)/i', '\\1'.'replacement text here'.'\\2', $stringToModify);

Leave a comment

About this Entry

This page contains a single entry by crussell published on August 21, 2006 3:38 PM.

Damn, damn, damn was the previous entry in this blog.

Oy! Fatty! Get a bike!!! is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.25