title: What are some of the most useful regular expressions for programmers?
body: <p>I am new to regular expressions and have just started learning some. I was wondering what are some of the <strong>most commonly used regular expressions</strong> by the programmers. Put it in another way, I would like to know what are the regular expressions most useful for? How can they help me in my every day tasks? I would prefer to know <strong>regular expressions useful for every day programming</strong>, not occasionally used regular expressions such email address matching.</p>
  
  <p>Anyone? Thanks. </p>
  
  <p><strong>Edit</strong>: Most of the answers include regular expressions to match email addresses, URLs, dates, phone numbers etc. Please note that not all programmers have to worry about these things in their every day tasks. I would like to know <strong>some more generic uses of regular expressions</strong>, if there are any, which programmers in general (may) use regardless what language are domain they are working in. </p>