Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- content = ['***************************************nt', 'ADVENTURE', '*', 'Solving', 'it', 'in', 'easy', 'steps', '*nt', '*tttt', '*nt', '*tttt', '*nt', '***************************************ntt', 'FROM:', 'THE', 'ROM', 'DR.', 'CALL', 'HER']
- import re
- for each in content:
- m = re.match('.*[tnrfv]+',each)
- if m:
- content.remove(each)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement