fork download
  1. import sys
  2. import re
  3. s = ''.join(sys.stdin.readlines())
  4. s = re.sub(r'^\*.*\n?', '', s)
  5. print s
Success #stdin #stdout 0.01s 7252KB
stdin
* This needs to be gone 
But this line should stay 
*remove  
* this too 
End
stdout
But this line should stay 
*remove  
* this too 
End