Optional pattern?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
sergeda

Optional pattern?

Post by sergeda »

Hi.
Help me please to design a pattern with optional subpatterns.
I have a number of identical string, but with different lenth. When I set number of subpatterns to the lenth of shortest string, I lost some data at the end of long lines. But when I add the number of subpatterns to get additional data in long string I lost small lines at all because it doesn't have so much number of subpatterns. How can I design an optional subpattern?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support »

Using EasyPatterns

[ longest optional( 3 to 8 letters ) ]

or similar.
Post Reply