Regular Expressions

I guess Regular Expressions can be the most powerful and most underappreciated tool if you dont know about it. I really recommend to spend some time reading about its powerful functionality. It is not easy to digest either, but in small servings of syntax and hands-on practice you have almost a golden hammer for dealing (searching, editing,manipulating) with strings and data.

Sample: .+@.+\.[a-z]+
Match any email address like

There is a handy Netbeans plugin to play with your patterns and matches right in your favorite IDE.
RegExPlugin (link)

About Regular Expressions on Wikipedia (link)
Sun Java Tutorial (link)


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s