Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regular Expressions- Regex  RSS feed

 
Daniel Simpson
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, is anyone using regular expressions from the java.util.regex package in their assignments? And are we required to use them for our searching techniques? Thanks!
 
Wim van Haaren
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Daniel,

We are not required to use regular expressions. I myself haven't used them for searching techniques. I did use them, however, to make sure a user could only enter digits in a JTextfield by providing it with a custom javax.swing.text.Document in which I used RE.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!