Regular Expressions and Content Filters

Regular Expression Restrictions for FusionReactor use the Java 1.4 RegEx language. For more technical information on Regular Expressions please refer to the online Java documentation.
NOTE: Since the regular expression buffer operates continuously, it has no concept of line breaks; the '$' (end of line) and '^' (start of line) match characters are not available. Also, pattern grouping and the backref operator '\n' are not available.

Quick Overview of RegEx Special Characters

.

matches any character

\d

matches any digit

\w

matches any word character [a-zA-Z_0-9]

\s

matches any whitespace character

[]

contents define a character class

[abc]

matches a, b or c

[^abc]

matches anything except a, b or c

|

alternation operator ('or')

X|Y

matches X or Y

X?

matches X once, or not at all

X*

matches X zero or more times (matching as much as possible)

X*?

matches X zero or more times (matching as little as possible)

X+

matches X one or more times

()

grouping characters

Example Search and Replace Filters

FusionReactor

This will match the exact string "FusionReactor" anywhere within a page.

[Ff]usion[Re]eactor

This matches FusionReactor without needing to capitalize the F and the R

[Ff][Uu][Ss][Ii][Oo][Nn]

This matches the word "Fusion" in any case.

<a href="http://www.machine.com(.*?)">

This will match any link to a specific machine (which you could replace with a different link to a "Not currently available" page or something.

<meta http-equiv="refresh"(.*?)>

This will match meta refresh tags which you could then remove.