Optional pattern?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators


Optional pattern?

Postby sergeda » Mon Nov 07, 2005 3:22 am

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: 2140
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Postby DataMystic Support » Tue Nov 08, 2005 10:42 pm

Using EasyPatterns

[ longest optional( 3 to 8 letters ) ]

or similar.

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 4 guests