• 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.

    E.x.:
    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!

    https://www.ads-software.com/plugins/html-cleanup/

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

    (@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?

    Thread Starter dlx

    (@deeluuxe)

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

    // CUSTOM AJAX CONTENT LOADING FUNCTION
    // obj.type : Post Type
    <!– ESSENTIAL GRID SKIN CSS –>

    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.