Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. content = ['***************************************nt', 'ADVENTURE', '*', 'Solving', 'it', 'in', 'easy', 'steps', '*nt', '*tttt', '*nt', '*tttt', '*nt', '***************************************ntt', 'FROM:', 'THE', 'ROM', 'DR.', 'CALL', 'HER']
  2.  
  3. import re
  4.  
  5. for each in content:
  6. m = re.match('.*[tnrfv]+',each)
  7. if m:
  8. content.remove(each)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement