Hello,
I try to translate in english my french langage.
In a document, i want to find all the words with five letters. If you want to help me, thanks in advance.
eddy
to find all the words have 5 letters
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
eddy.fr
- Posts: 5
- Joined: Wed Jul 04, 2007 7:23 pm
- Location: Le Perreux sur Marne
- Contact:
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Try this:
Find what: [^[:alpha:]][[:alpha:]]{5}[^[:alpha:]]
You could do this twice, the first time check Mark All to bookmark the lines.
Then run again, checking Find Next to pick out the word(s) on the lines.
-----------------
Edited: I just noticed that does not find the last word on a line, need to modify to handle that ......
Edit2: This also selects words that start or end with a number... working on corrections....
Find what: [^[:alpha:]][[:alpha:]]{5}[^[:alpha:]]
You could do this twice, the first time check Mark All to bookmark the lines.
Then run again, checking Find Next to pick out the word(s) on the lines.
-----------------
Edited: I just noticed that does not find the last word on a line, need to modify to handle that ......
Edit2: This also selects words that start or end with a number... working on corrections....
Hope this was helpful.............good luck,
Bob
Bob
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact: