PDA

View Full Version : Find and Replace in File


shaneras
02-16-2005, 12:44 PM
Hi,

I am trying to find different build numbers in a file on different machines that I have installed to and replace it with the updated build number.

Machine1 example:
<Version>2.00.16</Version>

Machine2 example:
<Version>2.00.05</Version>

In the text or regular expression to find field how do I write it to say replace <Version>2.00.(any number)</Version>
with
<Version>2.00.%BUILD_NUM%</Version>

Thanks,
Shane

kinook
02-17-2005, 03:53 PM
Attached is a sample that will do that.