Find all words of length x

Discuss huge attachment service and DetachPipe attachment management Add On for Microsoft Outlook. Get help with installation and running, notify us of bugs, request new features and enhancements.

Moderators: DataMystic Support, Moderators

Post Reply
Posts: 3
Joined: Tue Aug 19, 2003 6:10 pm

Find all words of length x

Post by Henri » Sat Jan 31, 2004 4:48 pm


I have a file for which every line contains a single word. I would like to extract all the words that have 5 characters.
According to the help file of TextPipe, the following should extract all words having 3 characters: [^\w]\w\w\w+

So I presume that for 5 characters it should be: [^\w]\w\w\w\w\w+

But it does not work and extract all words that are more than five, or it truncated the ones that are more then five.

I am certainly doing something wrong, could you help please.

Thanks and regards

User avatar
DataMystic Support
Site Admin
Posts: 2328
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Post by DataMystic Support » Mon Feb 02, 2004 11:00 am

Try removing all lines that do NOT match


Simon Carter, - Insulin dose calculator for Type 1 diabetes - 250,000 free software downloads - send huge email attachments

Post Reply