FANDOM


This page describes a bit of regex. It must be used within a script or user-fix.

 ?=
What it does: looks behind
Complexity: basic

?= is a bit of regex that will help you select the text behind a particular bit of text.

For instance, if you have the words "Christmas special" in text, then the following will get rid of all occurrences of "Christmas" before the word "special":

python replace.py -page:whatever 'Christmas (?=special)' ''