Support » Plugin: WPeMatico RSS Feed Fetcher » Regular expressions

  • Hello, thank you for creating this plugin, it does what it says on the tin.
    I’d like some help with the regular expressions please. In the “help” section it says they’re for advanced users, however, if us noobs had some examples we could manage to use them as well.

    I’d like to have the regular expressions for two things:
    1. Replace phrases, not just single words.

    2. Add something at the end of the string if a word or phrase is found somewhere in the string. For example, I’d like to add ” -rainbow” at the end of each title that contains the word “red”, so if the original title was “This red blouse is nice” after dealing with it with regex it would be “This red blouse is nice -rainbow”

    Please help. Perhaps you could put these regular expressions in that help section in the plugin because I’m sure lots of other people would like to use them.

    Thank you for your time.

  • The topic ‘Regular expressions’ is closed to new replies.