12-03-2005, 08:52 PM
Use replacerx or findrx.
Here ".+?(\d+).*" ir regular expression.
.+? is 1 or more any characters. Matches "Balance (".
\d+ is 1 or more digits. Matches "100".
() marks the part of the string that can be specified as $1 in the replacement string.
.* is 0 or more any characters. Matches ")".
Here ".+?(\d+).*" ir regular expression.
.+? is 1 or more any characters. Matches "Balance (".
\d+ is 1 or more digits. Matches "100".
() marks the part of the string that can be specified as $1 in the replacement string.
.* is 0 or more any characters. Matches ")".
