I have a table of content paragraphs which contain content along these
lines. 
 
' <p>Blurb Title</p><img src="/uploads/image123" width=124 align=left
vspace=5 border=0> blah, blah, blah... '
 
What I need to do is replace image123 with image123.jpg where the Image
ID (123) changes for each record of content.
 
What I have tried so far is....
 
ReReplaceNoCase(GetContent.LongDesc,"image[0-9]*",".jpg","ALL")
 
but this does...
 
' <p>Blurb Title</p><img src="/uploads/.jpg" width=124 align=left
vspace=5 border=0> blah, blah, blah... '
 
What I need is a regular expression that replaces the single " after the
image ID (123) with .jpg" to result in....
 
' <p>Blurb Title</p><img src="/uploads/image123.jpg" width=124
align=left vspace=5 border=0> blah, blah, blah... '
 
Anyone any ideas?
 
Regards
 
Mike

Reply via email to