• It doesn’t work with regex. I tried removing all classes within html tags with this regex and it didn’t work:

    \sclass="[^"]*"

Viewing 1 replies (of 1 total)
  • Plugin Author Krasen Slavov

    (@krasenslavov)

    Thanks for taking the time to share your feedback. I’m sorry to hear about the trouble you had using regex with the plugin.

    To clarify, the plugin does support regular expressions, but regex behavior can vary depending on syntax, context, and escaping. For example, the expression you shared:

    \sclass="[^"]*"

    may need to be adjusted depending on spacing, tag formatting, or whether you’re matching across line breaks. It’s often helpful to test your pattern in a dedicated regex testing tool before applying it.

    That said, you’re absolutely right — the plugin currently doesn’t include a dry-run or preview feature for regex replacements. This is a great suggestion, and we’ve added it to our feature request list for future development.

    In the meantime, if you’d like, feel free to share the exact use case or snippet you’re trying to modify, and we’d be happy to help craft a working regex for your need.

    Thanks,
    Krasen

Viewing 1 replies (of 1 total)

You must be logged in to reply to this review.