Regular expression examples

. Matches all characters
+ Matches the previous expression one or more times
* Matches the previous expression zero or more times
\ Escapes special characters
\Q...\E Matches the characters between \Q and \E literally, suppressing the meaning of special characters.
[a-c] Matches a, b and c
\d Matches all digits
\w Matches all word characters
\s Matches all whitespace characters
^ Matches the start of a line
$ Matches the end of a line
$1..$9 groups are referenced in the replace expression by $i for the i-th group
${count08} replaced with numbers starting from 1, incrementing by 1 for every match. The numbers after "count" are optional and indicate how many leading spaces the output should use, or if the number is preceded by a zero how many leading zeros.
${count08(start)} same as ${count}, but with "start" as the start value for counting
${count08(start, increment)} same as ${count(start)}, but with "increment" as the increment value instead of the default 1
${filepath} replaced with the path of the currently searched file
${filename} replaced with the name of the currently searched file. The name does not include the file extension
${fileext} replaced with the path of the currently searched file