Support » Plugin: WPeMatico » Regex problem with slashes

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

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Regex problem with slashes’ is closed to new replies.