Sometimes you are given a haystack and taxes with producing the needle. In programming language, this calls for Regular Expression!
A Regular Expression works wonders if you know how to write them! Good news, looking for a match in a huge document can be as easy as knowing what you want to achieve and using these handy tools for writing and testing your expression.
RegExr – An intuitive tool for learning, writing, and testing Regular Expressions
Rubular – A quick tool for comparing your RegEx against your document