It took me a lot of looking around to find a proper regex expression to pick out the value of an HTML tag. Too bad I was looking in the wrong places...
To replace the value of a tag you can use PHP code like this: $buffer=preg_replace -- meh, broken in ScribbleWeb
This was used in the callback function of an output buffer, to replace the title tag value (Long story).
This sample is based on the user notes from the php.net site here: http://ca3.php.net/function.ereg-replace
Update: be careful, the php code line above is screwed up due to an bug in the ScribbleWeb - there are extra slashes in there...
tags: regex, php