Самые нужные регулярные выражения

Pattern
Letters, numbers and hyphens

([A-Za-z0-9-]+)

Date (e.g. 21/3/2006)
(\d{1,2}\/\d{1,2}\/\d{4})

jpg, gif or png image
([^\s]+(?=\.(jpg|gif|png))\.\2)

Any number from 1 to 50 inclusive
(^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$)

Valid hexadecimal colour code
(#?([A-Fa-f0-9]){3}(([A-Fa-f0-9]){3})?)

String with at least one upper case letter, one lower case letter, and one digit (useful for passwords).
((?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,15})

Email addresses
(\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,6})

HTML Tags
(\<(/?[^\>]+)\>)

Basic Url

"/(http|https):\/\/([a-zA-Z0-9.]|%[0-9A-Za-z]|\/|:[0-9]?){5,}/"