Wrestling with Regular Expressions

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.

Tags: , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: