Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regular Expressions again

 
Chinmay Bajikar
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Consider a string which can spread on min 1 to max 4 lines.
And each line must have min 1 to max 34 chars in it.
How would my regular expressions be in that case?
I have tried several combinations,but of no avail.
Thank in adv,
Chinmay.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic