Regex problem with slashes (2 posts)

  1. RoamFree
    Posted 5 years ago #

    When I use a slash in a regex, I get an error. This makes it hard to use a pattern like /\.+?\<\/a\>/ because the can't be used in the pattern.

    (The outer slashes are because PHP regex wants those, and I don't think they are automatically added)

  2. RoamFree
    Posted 5 years ago #

    Any hints of how to create regular expressions so we can use "Replace" with non-alphabetic characters? I think preg_replace() is being used, but my regex incantations seem to not work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPeMatico
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic