Regular Expressions can be used to find and replace text in the pages served by Perceptive Enterprise Search. These patterns will be matched against the pages before the pages are served to the user. This is the very last stage the pages are run through before being served to the user. Any Perceptive Enterprise Search symbols, PHP or other script output will be run before the pages are matched against the patterns.
All regular expression patterns use POSIX style expressions described in further detail here.
The URL field is a pattern that will be matched against the URL for each page. Pages
whose URL match this pattern will then be searched for the string in the "Pattern"
field.
Example: (?i)(.*?)/isysquery/(.*?)
This is the pattern that you wish to search for in the source of the web pages.
Anytime this pattern is matched, Perceptive Enterprise Search will replace it with the string in the "Replace"
field.
Example: (?i)<b>
This is the string that will replace the pattern matched in the "Pattern" field.
Example: <strong>
The examples for each field would search and replace any page that has "/isysquery/"
in the URL. It would search for "<b>" and replace it with "<strong>".