File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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,
Chinmay.


The strength of the Wolf is the pack & the strength of the pack is the wolf....Rudyard Kipling
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regular Expressions again