In reply to Re: Problem changing only first occurence of pattern in file by cephas in thread Problem changing only first occurence of pattern in file by JimJx