Some Random Dude is a blog by P.J. Onori that covers design & technology in the broadest sense possible.

Use Tumblr? If so, you may find Off Franklin useful.

Posts Tagged ‘regular-expressions’

Click on one of the items below to go to the post

More Dreamweaver Regular Expressions

Posted on 5 July, 2006 at 9:21pm with 11 comments

A while back I offered up a pack of Dreamweaver regular expressions for download. Well, I have been doing some significant front-end work lately which has required quite a bit of rewriting of old HTML to a more standards-centric foundation. During this process, I have been writing a few additional regular expressions (aka regexes). I was somewhat surprised by the level of interest in the original set of regexes so I thought it would be helpful to release an updated collection of regular expressions.
Read the rest of this post…


Dreamweaver Regular Expressions Are Your Friend

Posted on 25 May, 2006 at 11:49am with 14 comments

I will be honest, I enjoy enjoyable work. Monotonous chores are a major turnoff. Like everyone else, I have had the displeasurable job to take nasty HTML and make it clean(er). There are a multitude of methods to accomplish this goal, but they basically fall into two camps: take the pre-existing code and clean it or start from scratch. Both are time-consuming as clearing out unnecessary tags and attributes can seemingly take a lifetime as can re-inputting all the information page per page. We should not have to do this, but it is a part of life. Instead of complaining, I decided to do something to help.
Read the rest of this post…