Class of the Month: JDK 1.4 Supports Regular Expressions Iowa

Regular expressions are a useful programming tool. The fact that Java now natively supports them simplifies many programming tasks that used to require cumbersome code.

Local Companies

Computer Software Development Inc
(319) 849-2298
826 Summit St
Center Point, IA
Ideal Computer Systems Inc
(319) 447-4301
999 35th St Ste B
Marion, IA
Nemaha Web Design
(712) 636-4461
307 Main St
Nemaha, IA
Quest Solutions Inc
(515) 223-4161
1200 Valley West Dr Ste 304-4
West Des Moines, IA
Modis
(515) 223-6099
4401 Westown Pkwy Ste 303
West Des Moines, IA
Black B A Solutions
(515) 382-1027
1731 S G Ave
Nevada, IA
Advanced Technology Group
(319) 337-5193
328 E Washington St Ste 201
Iowa City, IA
Robert Half Technology
(319) 362-8606
625 1st St SE Ste 280
Cedar Rapids, IA
Devine Office Equipment
(515) 244-7880
1326 Walnut St
Des Moines, IA
Next Generation Technologies Llc
(641) 562-2226
205 N Main St
Buffalo Center, IA

provided by: 
Originally published at Internet.com


Regular expressions have been around for a long time. They come in very handy for text processing tasks. Some attribute the success of Perl to its superb ability of handling regular expressions. While there have been third-party classes that support regular expressions, with JDK 1.4, Java provides native support via the java.util.regex package.

Piroz Mohseni

Usage of regular expressions boils down to two components:

1. Defining the regular expression. This is a pattern that describes what is to be matched. 2. Applying the regular expression on a sequence of characters. Determining whether a match was found or not, successive finds, and replacements are some of the common operations involving regular expressions.

The Pattern class focuses on the first component. You use this class to define a regular expression. By representing the regular expression as an object, you can reuse the expression in your code. This is particularly useful in cases where you need to apply the same expression to multiple strings (e.g., line-by-line processing of a text file). The following line creates a pattern based on the regular expression "[0-9]" which matches any digits from 0 to 9. This pattern can also be represented as "/d"...

Read article at Internet.com site
Regional Articles
- Class of the Month: JDK 1.4 Supports Regular Expressions Ames IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Ankeny IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Bettendorf IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Burlington IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Cedar Falls IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Cedar Rapids IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Clinton IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Coralville IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Council Bluffs IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Davenport IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Des Moines IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Dubuque IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Fort Dodge IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Indianola IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Iowa City IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Marion IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Marshalltown IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Mason City IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Muscatine IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Oskaloosa IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Ottumwa IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Sioux City IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Urbandale IA
- Class of the Month: JDK 1.4 Supports Regular Expressions Waterloo IA
- Class of the Month: JDK 1.4 Supports Regular Expressions West Des Moines IA
Related Local Events
Technology Series: Cloud Computing, Data Hosting and Disaster Recovery
Dates: 1/19/2010 - 1/19/2010
Location: Alliance Technologies Inc‎
Des Moines, IA
View Details

Chamber Coffee - Vantus Bank
Dates: 11/18/2009 - 11/18/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

Chamber Coffee - The Living Center
Dates: 11/11/2009 - 11/11/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML