Text Extract

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) (:extract group=PmWiki page=* name=-RecentChanges unit=line markup=text timer=1 shorten=1:)

Markup:
(:extract group=PmWiki page=* name=-RecentChanges 
unit=line markup=text timer=1 shorten=1:)

Search PmWiki Documentation

(returns results in paragraphs) (:extract group=PmWiki page=* name=-RecentChanges timer=1 shorten=1:)

Markup:
(:extract group=PmWiki page=* name=-RecentChanges timer=1 shorten=1:)

Search PmWiki Documentation

(returns results in lines, includes hidden markup) (:extract group=PmWiki page=* name=-RecentChanges unit=line markup=code regex=1 linenum=1 pagenum=blue timer=1 shorten=1:)

Markup:
(:extract group=PmWiki page=* name=-RecentChanges regex=1 
unit=line markup=code linenum=1 pagenum=blue timer=1  shorten=1:)

Generic Search Box:

(:extract:)

Markup: (:extract:)


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