Search Regex
Regex fails in plugin, succeeds in regexpal (2 posts)

  1. dmlehman99
    Posted 4 years ago #

    I'm trying to do some shortcode clean-up and am using the following expression:


    But the plugin throws the error:

    "Invalid regular expression: Delimiter must not be alphanumeric or backslash"

    I've run the expression through regexpal.com and it does what I intend it to without problems. Is there a special syntax I'm missing?


  2. ZainB
    Posted 4 years ago #

    Hi dmlehman99,

    Yes - the plugin states that you should not use a backslash (\). Also, you haven't specified any delimiters to use with your regular expression - they need to be set at the beginning and at the end.

    I found this particularly useful article on how to use regular expressions with the Search RegEx plugin - I hope you find it useful:




Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Search Regex
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic