I want to reach through a batch file that has many lines of which I want to do further processing only if there is a line starting with "call ..." Also the line should not contain
How do I search for a pattern where it matches call in the beginning followed by any number of spaces and any word but not starting with %.
Pls help me out
fileIN = open(filename,"r")
for line in fileIN:
#line can be call %_junk% text1
#line can be call GetFiles %Label%
print ' '