Help on Find-Replace needed Autor de la hebra: Uldis Liepkalns
| Uldis Liepkalns Letonia Local time: 14:37 Miembro 2003 inglés al letón + ...
Hi all, I have to change the order of symbols in the translation: (D4 fig.) to (fig. D4). Figure numbers of course differ and there are thousands of changes to make. Is there some way to make Search-Replace function to do it? Uldis | | |
[Edited at 2006-02-17 16:26] | | | Endre Both Alemania Local time: 13:37 inglés al alemán Search sequence | Feb 16, 2006 |
Hi Uldis, if you only have one (uppercase!) letter and one digit in each name, try this: Search: ([A-Z][0-9])( )(fig.) Replace: 3\2\1 For one letter and one or more digits (e.g. D44 fig.): ([A-Z][0-9]@)( )(fig.) For one or more letters and one or more digits (e.g. ABC33 fig.): ([A-Z]@[0-9]@)( )(fig.) In every case you need to tick the "With wildcards" box. If you have lowercase lett... See more Hi Uldis, if you only have one (uppercase!) letter and one digit in each name, try this: Search: ([A-Z][0-9])( )(fig.) Replace: 3\2\1 For one letter and one or more digits (e.g. D44 fig.): ([A-Z][0-9]@)( )(fig.) For one or more letters and one or more digits (e.g. ABC33 fig.): ([A-Z]@[0-9]@)( )(fig.) In every case you need to tick the "With wildcards" box. If you have lowercase letters too, try [a-z] instead of [A-Z]. Endre
[Edited at 2006-02-16 15:49] ▲ Collapse | | | Use MS Word Wildcards | Feb 16, 2006 |
Endre already gave some examples. You can find more information and examples on MS Word "wildcard" searches (which are actually scaled-down regular expression searches) in an article of mine (How To Use Wildcards...), and still more here
[Modificato alle 2006-02-16 15:59] | |
|
|
Jaroslaw Michalak Polonia Local time: 13:37 Miembro 2004 inglés al polaco LOCALIZADOR DEL SITIO Only wildcards... | Feb 16, 2006 |
Patricia Fierro, M. Sc. wrote: 7. Click on the "Replace with" field 8. Enter "Fig." in the "Replace with" field 9. Click on "Special" 10. Click on "Any digit" Have you actually tried this? There is no "Any digit" option in the "Replace with" field (obviously - you need to specify which digit to replace). You can put "Found text", but this gives the whole string, which would not help much. Endre's method, on the other hand, should work quite well. | | | mk_lab Ucrania Local time: 14:37 Miembro 2004 inglés al ruso + ... And do it slowly... | Feb 16, 2006 |
And do it slowly, because you are in risk to loose an idea. | | | Uldis Liepkalns Letonia Local time: 14:37 Miembro 2003 inglés al letón + ... PERSONA QUE INICIÓ LA HEBRA Thanks a lot | Feb 16, 2006 |
to you all! Uldis | | | Jo Macdonald España Local time: 13:37 italiano al inglés + ...
|
|
Robert Tucker (X) Reino Unido Local time: 12:37 alemán al inglés + ... Maybe with a macro | Feb 16, 2006 |
I use OpenOffice but probably something similar should work in Microsoft Word. If you record a macro something like: Have the cursor at the beginning of document Start recording macro Do ctrl-F and type “ fig.)” in the find box and click find Hit delete Close find dialogue Click back into document Type “)” Do ctrl-F and type “(“ in the find box and check backward search and click find Close find dialogue ... See more I use OpenOffice but probably something similar should work in Microsoft Word. If you record a macro something like: Have the cursor at the beginning of document Start recording macro Do ctrl-F and type “ fig.)” in the find box and click find Hit delete Close find dialogue Click back into document Type “)” Do ctrl-F and type “(“ in the find box and check backward search and click find Close find dialogue Type “(fig. “ Stop recording macro and save I don't know how to run a macro repeatedly automatically except that it is probably possible to edit the Basic code to do so.
[Edited at 2006-02-17 11:51]
Run Macro Repeatedly: http://www.wordboosters.com/wboverview.htm
[Edited at 2006-02-17 13:35] ▲ Collapse | | | To report site rules violations or get help, contact a site moderator: You can also contact site staff by submitting a support request » Help on Find-Replace needed TM-Town | Manage your TMs and Terms ... and boost your translation business
Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.
More info » |
| Protemos translation business management system | Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!
The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |