Introduction

Syntax

Program Help

Examples

Download

Match Tool 2.1

Match Tool 3.0

 

DEELX Regular Expression Replace Syntax

Return: Content | Prev: Match Mode


Replace Operation

Replace matched substrings in text.


Remarks

$1 ~ $999

Stands for what a certain group captured. If the number is larger than the max group number, DEELX will use less digitals, till the number is smaller than or equal to the max group number.

For example:

If the max group number is 20, "$999" means "$9" and common string "99", while "$15" means the 15th group. If you need "$1" and common string "5", you can use $0015 , DEELX at most recognize 3 digitals as number.


${name}

Stands for what a named group captured.


$$

Stands for a single dollars ($).


$&

Stands for what the overall expression captured.


$`

The substring before the beginning of what the overall expression captured in the original text.


$'

The substring behind the end of what the overall expression captured in the original text.


$+

Stands for what a group captured, which group has the max group number among those groups that have captured.

For example: when "aaa(b+)|ccc(b+)" matches "aaabbb" , $+ stands for $1, even though $2 has the max group number.


$_

Stands for the whole original text.

 
 

RegExLab.com © 2005 - All Rights Reserved