This post originated from an RSS feed registered with Java Buzz
by Goldy Lukka.
Original Post: Using Regular Expressions in J2SE
Feed Title: Xyling Java Blogs
Feed URL: http://www.javablogs.xyling.com/thisWeek.rss
Feed Description: Your one stop source for Java Related Resources.
In Java applications that do text searching and manipulation, the StringTokenizer and String classes are used heavily. This can often result in complex code and lead to a maintenance nightmare.
Often such Java applications are looking for an occurrence of a particular character or token in a String, and then trying to find a string surrounding it, validating the extracted String.
Use java.util.regex package that makes string search and manipulation very easy. Refer title of this post to learn how to use regex in java.
[Resource-Type: Article, Category: Java/J2SE, Level: All, Java-Edition: J2SE, XRating: 3]