Forum OpenACS Q&A: Response to conditional regsub

Collapse
Posted by Gilbert Wong on
Nevermind.  After messing around with it some more, this seems to produce the correct behavior:

regsub -all -nocase {(<img.+?src=)"*?([^http:/" ]+)[" ]*(.*>)} $body ""$new_path/" " body