Home > Computer Programming > Supercharged text processing in Java: Regular Expressions

Supercharged text processing in Java: Regular Expressions

January 17, 2013 Leave a comment Go to comments

Regular Expressions are a mean of specifying a pattern of text. For instance you can tell whether something is a valid email address by specifying a pattern like “one or more characters followed by @ followed by one or more characters”. (With RE you can write this as “.+@.+”). RE allows you to construct very complex and powerful rules for pattern matching. Whole books are written about them!

If you would like to use them in your Java programs, take a look here:

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

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