Help on Find-Replace needed
Thread poster: Uldis Liepkalns

Uldis Liepkalns  Identity Verified
Latvia
Local time: 21:34
Member (2003)
English to Latvian
+ ...
Feb 16, 2006

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


Direct link Reply with quote
 

Patricia Fierro, M. Sc.  Identity Verified
Ecuador
Local time: 14:34
Member (2004)
English to Spanish
+ ...
Feb 16, 2006



[Edited at 2006-02-17 16:26]


Direct link Reply with quote
 

Endre Both  Identity Verified
Germany
Local time: 20:34
Member (2002)
English to German
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 letters too, try [a-z] instead of [A-Z].

Endre

[Edited at 2006-02-16 15:49]


Direct link Reply with quote
 

Riccardo Schiaffino  Identity Verified
United States
Local time: 12:34
Member (2003)
English to Italian
+ ...
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]


Direct link Reply with quote
 

Jabberwock  Identity Verified
Poland
Local time: 20:34
Member (2004)
English to Polish
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.


Direct link Reply with quote
 

mk_lab  Identity Verified
Ukraine
Local time: 21:34
Member (2004)
English to Russian
+ ...
And do it slowly... Feb 16, 2006

And do it slowly, because you are in risk to loose an idea.

Direct link Reply with quote
 

Uldis Liepkalns  Identity Verified
Latvia
Local time: 21:34
Member (2003)
English to Latvian
+ ...
TOPIC STARTER
Thanks a lot Feb 16, 2006

to you all!

Uldis


Direct link Reply with quote
 

Jo Macdonald  Identity Verified
Spain
Local time: 20:34
Member (2005)
Italian to English
+ ...
Using Search-Replace Feb 16, 2006

Hi Uldis,

Here's something I posted recently on using Search-Replace
http://www.proz.com/post/285966#285966


Direct link Reply with quote
 

Robert Tucker
United Kingdom
Local time: 19:34
German to English
+ ...
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
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]


Direct link Reply with quote
 


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

Advanced search






memoQ translator pro
Kilgray's memoQ is the world's fastest developing integrated localization & translation environment rendering you more productive and efficient.

With our advanced file filters, unlimited language and advanced file support, memoQ translator pro has been designed for translators and reviewers who work on their own, with other translators or in team-based translation projects.

More info »
BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, ProZ.com integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search