File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Regular Expressions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regular Expressions" Watch "Regular Expressions" New topic
Author

Regular Expressions

Ramesh Etta
Ranch Hand

Joined: Sep 18, 2007
Posts: 46
What are regular expressions in java? How to use thme? Can any one give examples of those?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
Regular expression in Java aren't different from regexps in other languages. They use the Perl syntax for the most part. Or are you looking an introduction to regexps in general? Then http://www.regular-expressions.info/ is for you.

Examples of using the java.util.regex package can be found here.


Ping & DNS - updated with new look and Ping home screen widget
 
Consider Paul's rocket mass heater.
 
subject: Regular Expressions
 
Similar Threads
SWIFT Message Format Check Using Java
validate text-only text field
Telephone format validation rule in java
how can i check valid characters in java script
validating forms