This page (revision-1) was last changed on 16-Nov-2026 01:42 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

1You can use meta-characters in the 'Search For' field:
2
3|. |any character except newline |+ |one or more times
4|* |zero or more times |? |zero or one time
5|{n} |match exact n times |{n,m} |at least n, at most m times
6|~| |pipe: {{a~|b}} matches a or b | - |hyphen, match a range of chars
7|^ |beginning of a line |$ |end of a line
8|[[...] |one of the char's of a set |[[^...] |negated character set
9|\b |word boundary |\B |word non boundary
10|\d |numeral [[0-9] |\D |non numeral [[^0-9]
11|\s |single white space |\S |single non white space
12|\w |[[A-Za-z0-9_] |\W |[[^A-Za-z0-9_]
13|(...) |grouping are stored as $1..$9 |\. |escape a meta char
14
15The 'Replace with' field can use $1..$9 as a backreference to parentheses of 'Search for' field.
16----
17Example:\\
18
19Search for __/abc|def/__ will match the word 'abc' or the word 'def'\\
20Search for __/bwiki/b__ will match the word 'wiki' but not the word 'jspwiki'.\\
21Search for __^[[IVXMDCL]+\.__ will match any combination of roman numeral char's followed by a period\\
22Search for __/(-?\d+)(\d{3})/__ and replace with __$1,$2__ to insert commas in large integers.
23
24This is the [EditFindAndReplaceHelp] page.
25[More info on regular expressions|http://www.regular-expressions.info/javascript.html]
26and [RegExp Sandbox|http://www.regular-expressions.info/javascriptexample.html]\\