ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Find/replace image links query

June 24, 2012 5:17pm

Subscribe [3]
  • #1 / Jun 24, 2012 5:17pm

    I would like to convert an existing channel field that is a text input fieldtype that has image links in it like:

    https://ellislab.com/asset/images/features/sosol-logo.gif

    Into a file fieldtype, which stores the same file as:

    https://ellislab.com/asset/images/features/sosol-logo.gif

    I have about 500 existing entries with images in the field at the moment and so need to run a search and replace to remove the extra stuff.

    So what I need help with is the query and regular expression that covers all the options that I can run through the “Search and Replace” data tool. The field_id is 14.

  • #2 / Jun 28, 2012 10:24am

    the wire

    31 posts

    That is exactly what I am looking for. I hope someone can help.

    Thanks,
    Gabriela

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases