Commonly Used Regular expressions
Here are some commonly used regular expressions. Most of them are applicable for PHP, JavaScript, Perl, Python and Java. HTTP URL /* Matches: https://tutorboy.com, http://tutorboy.com:8080/profile.html Nonmatches: ftp://tutorboy.com, ftp://tutorboy.com/ */ Expression : /(https?):\/\/([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})(:\d{1,4})?([-\w\/#~:.?+=&%@~]*)/
Javascript Common Escape Sequences
It’s better coding practice to use escape sequences, because they make your code easier to read. Escape sequences are also useful for situations where you want to use characters that can’t be typed using a keyboard.
JavaScript: The Good Parts – Speaker: Douglas Crockford
JavaScript is a language with more than its share of bad parts. It went from non-existence to global adoption in an alarmingly short period of time. It never had an interval in the lab when it could be tried out … Continue reading




