If you work with strings in your Python scripts and you're writing obscure logic to process them, then you need to look into regex in Python. It lets you describe patterns instead of writing ...
With help from his wife and kids, who prevented the snake from squeezing him to death, Carl Jackson wrangled the second-heaviest Burmese python ever caught in the state ...
Smarter document extraction starts here.