logo
Toggle navigation
Begin main navigation
About
Projects
Download
Documentation
Wiki
Forums
Log In
Go!
OpenACS – The Toolkit for Online Communities
:
Forums
:
OpenACS Q&A
:
conditional regsub
: One Message
Begin main content
Forum OpenACS Q&A: Response to conditional regsub
Search:
Back to OpenACS Q&A
2
:
Response to conditional regsub
(response to
1
)
Posted by
Gilbert Wong
on
01/08/02 10:19 PM
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
Back to OpenACS Q&A