Hi,
I have a text file which contains variables in the form of:
<ipaddress1> <ipaddress2>
interface <ipaddress1>
In the beginning of the file, their is a section where these variables
can be defined, like:
====================
<ipaddress1>=<10.1.1.1>
<ipaddress2>=<10.1.1.2>
====================
I would like to write a macro who looks for these definition,
then extracts the values using RegExpression matching
and then replaces all occurrences of <ipaddress1> with 10.1.1.1
and <ipaddress2> with 10.1.1.2 in the whole document.
Any help to get me on my way is appreciated...
Geert
I have a text file which contains variables in the form of:
<ipaddress1> <ipaddress2>
interface <ipaddress1>
In the beginning of the file, their is a section where these variables
can be defined, like:
====================
<ipaddress1>=<10.1.1.1>
<ipaddress2>=<10.1.1.2>
====================
I would like to write a macro who looks for these definition,
then extracts the values using RegExpression matching
and then replaces all occurrences of <ipaddress1> with 10.1.1.1
and <ipaddress2> with 10.1.1.2 in the whole document.
Any help to get me on my way is appreciated...
Geert