Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-06-2004, 09:02 AM
GrahamS GrahamS is online now
Registered User
 
Join Date: 12-26-2003
Posts: 16
Problem with Replace in File

I'm trying to use Replace In File to delete all lines that contain a certain phrase. I'm using the following regular expression to find the line, together with blank replacement text

^.*Delete Me.*$


If no line contains the phrase then I get the complete file echoed (as expected). However, if any line in my file contains the phrase then all text is deleted.

What is going wrong?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:50 AM.


Copyright © 1999-2023 Kinook Software, Inc.