Articles tagged with #regex




5 Must Know Javascript Regex Tips

You won't make it too long with javascript before you need to create a savvy regular expression. Regular expression can be tricky, so here are 5 tips to help you find what you're looking for. Lets take the following block of text: Lorem ipsum 12345-4321 dolor sit amet, consectetur adipisicing …



Should I Use ColdFusion XML or RegEx

I've been working with xml feeds lately, and I've stumbled across some irritating issues with ColdFusion, or perhaps it all revolves around programmer error.. naa! Things were rolling along smooth with xml. I pull in the feed, XmlParse(), then XmlSearch(). XPath was making life easy. Then comes that overgrown batch …



Javascript RegExp Match - Named Captures

Anyone who does much javascript development and is familiar with regular expressions knows that javascript is missing one fun little part of regular expression matching, named captures. However without this functionality javascript still works fine, it just returns results from a match in a standard array. For convenience sake it …



Incorporating Regex into ORM's and Database Abstractions

Almost on a daily basis I come across using regular expressions rather convenient. I first toyed with regular expressions in my Compiler Design classes during my undergrad studies, and little did I know they can be used for everyday things like submitting forms. I've even toyed with them to create …