background preloader

Regex

Facebook Twitter

Perl Regex Interactive Tutorial. 8 Regular Expressions You Should Know - Nettuts+ Regular expressions are a language of their own. When you learn a new programming language, they're this little sub-language that makes no sense at first glance. Many times you have to read another tutorial, article, or book just to understand the "simple" pattern described. Today, we'll review eight regular expressions that you should know for your next coding project. Before we start, you might want to check out some of the regex apps on Envato Market, such as: You can extract emails, proxies, IPs, phone numbers, addresses, HTML tags, URLs, links, dates, etc. Just insert one or multiple regular expressions and sources URLs, and start the process.

Extract, scrape, parse, harvest. Extract emails from an old CSV address book.Extract image sources from HTML files.Extract proxies from online websites.Extract URL results from Google.Fast regex testerAJAX-basedjQuery etc are not required.No database requiredAdvertisement ready All that in a PHP syntax. My-us3r_n4m3 myp4ssw0rd #a3c113 my-title-here. Extreme regex foo: what you need to know to become a regular exp. The absolute bare minimum every programmer should know about reg.