It's not a secret anymore!
The moose likes Java in General and the fly likes Regular Expressions again Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regular Expressions again" Watch "Regular Expressions again" New topic

Regular Expressions again

Chinmay Bajikar
Ranch Hand

Joined: Dec 08, 2001
Posts: 159
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,

The strength of the Wolf is the pack & the strength of the pack is the wolf....Rudyard Kipling
I agree. Here's the link:
subject: Regular Expressions again
It's not a secret anymore!