Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regular Expressions again  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!