Posts Tagged ‘Regular Expressions’

Online Regular Expression Tester / Debugger

DevOps, JavaScript, PHP, Web Development | Posted by Keefr July 10th, 2017

Markup / HTMLA guy on my team today shared this, and I had to immediately share as well. Regular Expression (RegEx) is super powerful, but can be very confusing, and a single character off can have big consequences, not work properly or cause a regular expression to fail completely.

Enter the site linked below, regular expressions 101. It allows you to test and debug regular expressions, and even its variations between PHP, JavaScript, Python and Go.

It’s cool in that as you put in RegEx, it code hints everything so you can fully understand everything in the string — which is nice when you find a possible solution on Stack Overflow or some other random development blog. It helps you parse out what the RegEx is actually doing.

The explanations are well done and it’s a tool I’m definitely bookmarking for the next time I’m in the regular expression world.

regular expressions 101

Perl Problems

Humor, Web Development | Posted by Keefr February 9th, 2013

Gotta love xkcd:

Perl Problems

15 PHP Regular Expressions for Web Developers

Web Development | Posted by Keefr March 8th, 2011

Ah regular expressions — so so powerful, yet so so perplexing and hard to understand.. at least that’s my take. Searching for a way to easily make links out of URLS inthe flat text coming in from a Twitter feed for a web site I’m working on, I came across this great list of 15 ways web developers can utilize regular expressions in PHP.

15 PHP Regular Expressions for Web Developers