Search Regex
replace text between two tags (1 post)

  1. fabio.grasso
    Posted 2 years ago #

    Dear all
    I state that I am not a regex expert, but I'm trying to create a code based on some of the examples found on the web. My need is to replace the string

  2. with the string <li class="ingredient"> in all my posts. This change, however, must be done only for text between the shortcode [ingredients title = XXXX] and [/ingredient].

    I've found the regex for search only the text between the shortcode:

    Anyone can help me for add to this the search of the

  3. code and then the replace with <li class="ingredient">?

    thanks for your help

  4. http://wordpress.org/plugins/search-regex/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic