This is a demo for Cookbook:TextExtract (see details about parameters there).
Here are three example search forms for context-sensitive search in this wiki site.

Search for term can be a word, several words (all words need to match), a phrase enclosed in hyphens, or a regular expression (if "Regular expression" is checked).
To exclude pages containing a certain word, use the word with a - in front.
With "Regular expression" checked you can use the pipe | character to separate terms, i.e. "abc|xyz", and TextExtract will return results matching either of the terms (OR condition).
On pages input should be a pagename like Group.PageName or PageName, including wiki wildcard characters ? and *.
'Group.*' means all pages in group 'Group'. Note that the dot here is just the separator between the group and the name part. This field does not accept regular expression input.

Try out the forms:

Search PmWiki Documentation

(returns results in lines, text only)

Search for
Match whole word
Match case
    
Markup:
(:extract group=PmWiki page=* name=-RecentChanges 
unit=line markup=text timer=1 shorten=1:)

Search PmWiki Documentation

(returns results in paragraphs)

Search for
Match whole word
Match case
    
Markup:
(:extract group=PmWiki page=* name=-RecentChanges timer=1 shorten=1:)

Search PmWiki Documentation

(returns results in lines, includes hidden markup)

Search for
Match whole word
Match case
Regular expression
    
Markup:
(:extract group=PmWiki page=* name=-RecentChanges regex=1 
unit=line markup=code linenum=1 pagenum=blue timer=1  shorten=1:)

Generic Search Box:

Search for
On pages
Match whole word
Match case
    
Markup: (:extract:)

<< More Wiki Style Colors | TestPages | NoLeft Page >>

Layout (Gemini)

Rightbar

Quotation

‘Now’ is the operative word. Everything you put in your way is just a method of putting off the hour when you could actually be doing your dream. You don’t need endless time and perfect conditions. Do it now. Do it today. Do it for twenty minutes and watch your heart start beating. Barbara Sher