Thanks for responding, Paul.
I see what you are trying to do. Unfortunately, it just returns a space.
Also, I think that you are right- in doing something like that I would have to somehow loop through, because if it did match, it might just do it for the first occurrence in the file, and not...
I am a perl newbie.
I am trying to write a simple preprocessor to strip out some lines from a file. Basically if "somestring" is found, it should delete all content from that point until ";" is found.
It does this ok right now if it is only on the same line. Can anyone please help...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.