Support » Plugin: HTML Cleanup » Idea: Examples of some RegEx

  • dlx


    I would be very cool if you could add some examples for different RegEx entries on the settings page of the plugin. This would really help some Non-RegEx-Experts using your plugin.

    I wanted to get rid of a line containing some ” characters. Copy pasted the whole line to the setting and got a blank page (frontend) after this.

    Keep on the good work!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author davidlyness


    Hey, great idea! The plugin’s home page already has a couple of examples, but I’ll add some more which include special characters.

    As for your specific example – although the double-quotes character itself shouldn’t interfere with pattern matching (it’s not a special character in regex world), it’s likely that some other character in your pattern is. Are you able to share the full line you’re trying to remove?



    Yes, sure – here are some of my example lines (didnĀ“t manage to get them out of the source):

    // obj.type : Post Type

    The most of the lines are caused by the “Slider Revolution Responsive WordPress Slider Plugin”. Also noticed some plugins add a generator meta to the source – because of this I tried to find a solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Idea: Examples of some RegEx’ is closed to new replies.