Removing unwanted name in Title and Content using Regex

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 3 replies, 2 voices, and was last updated 3 years, 3 months ago by Szabi – CodeRevolution.

Viewing 3 reply threads
  • Author
    Posts
    • #3662


      denniskoh
      Participant
      Post count: 6

      Hi Szabi,

      I prepared a list of names that I wanted to remove from the imported content using Regex. My current settings for importing rule is max 5 posts every 3 hours. However, most of the time only 1 post follows my settings and removes the said name. The rest will just be empty as if I didn’t set up the <b>Replace Matches From Regex & Replace Title Matches From Regex.</b>

      Kindly assist. Thank you

    • #3664


      denniskoh
      Participant
      Post count: 6
      This reply has been marked as private.
    • #3665


      denniskoh
      Participant
      Post count: 6
      This reply has been marked as private.
    • #3671


      Szabi – CodeRevolution
      Keymaster
      Post count: 4585

      Hello,

      First of all, thank you for your purchase.

      I logged in to your site and saw that you entered regexes to match: GlobeNewswire

      However, in the image you appended to this ticket, I see that the following text is highlighted:

      Globe Newswire

      Please note the space between Globe and Newswire from above.

      To replace also this text, where a space appears between these words, you need to write regex which matches also the above variant.

      Example regex which matches both GlobeNewswire and Globe Newswire is the below:

      Globe\s*Newswire

      Please use this site to create your regexes, it is very helpful in learning regex and writing your expressions:

      https://regexr.com/

      I hope this info helped.

      Regards,

      Szabi – CodeRevolution.

Viewing 3 reply threads

The topic ‘Removing unwanted name in Title and Content using Regex’ is closed to new replies.