Convert tweet hashtags, at-tags and urls to links with PHP and Regular Expressions
A PHP tutorial on using regular expressions to convert hashtags, mentions, and URLs in tweets into clickable HTML links.
A PHP tutorial on using regular expressions to convert hashtags, mentions, and URLs in tweets into clickable HTML links.
Explores browser inconsistencies in validating HTML5 input type='url' and provides a regex pattern to fix validation issues.
Explains how to use regex lookahead to simulate AND, NOT, and EXCEPT operations for complex pattern matching.
Explores teaching approaches: starting with general rules vs. specific cases, using regex quantifiers as a primary example.
A guide to creating complex, readable regular expressions in JavaScript by composing them from smaller, reusable sub-patterns.
A guide to building a WordPress plugin that uses regex to convert Microsoft Word footnotes into a web-friendly format for the Simple Footnotes plugin.