Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regular Expressions in Java  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way of implementing Perl style regular expressions in Java?
Jules
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With Java 2 v1.4, Sun included the java.util.regex package. Take a look at the September 2002 JavaRanch Newsletter and the February 2003 Java 101 JavaWorld article for easy introductions to the package.
Many alternative regex packages are available. Take a look at the list put together by the author of Mastering Regular Expressions (Second Edition).
 
I miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!