Posts Tagged ‘information technology’

Wrestling with Regular Expressions

November 10, 2008

I’m not a big fan of Regular Expressions. Mostly because I’m so inexperienced of using them. But even I see the oppurtinity to replace complex IF statements with RegExps (for example: has a number the form of a positive decimal number with 1 or two decimal places).

To ease the use of RegExps, there are myriads of online RegExps Testers. My favorite is
RegEx

Go ahead and try it, simple but powerfull.

Advertisements