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