Skip to main content

Java capabilities

2 replies [Last post]
wer
Offline
Joined: 2006-02-17

perl has something called "Regular Expressions". I was wondering what the Java equivalent was. Can anyone help me here?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
edlou
Offline
Joined: 2004-06-21

Also take a look at the online Java tutorial for more info:

http://java.sun.com/docs/books/tutorial/extra/regex/index.html

pheet
Offline
Joined: 2004-11-27

Hava a look at the java.util.regex package.

String#replaceAll uses regex for example.