Jump to content
UBot Underground

$replace help


Recommended Posts

I am filling a in a description field from a text file and would like to change the source of the images. For example I'd like to change <img src="bob.com/bg.gif" /> to <img src="nancy.com/bg.gif" />

I've tried to use the $replace to make the change, but it is deleting all of the other html in the field. I watched the tutorial on using replace, but it only shows how to replace the word store with the best restaurant in town. Any help is appreciated.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...