Help on Find-Replace needed
Thread poster: Uldis Liepkalns

Uldis Liepkalns  Identity Verified
Latvia
Local time: 15:47
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: 07:47
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: 14:47
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: 06:47
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: 14:47
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: 15:47
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: 15:47
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: 14:47
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: 13:47
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






SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »
LSP.expert
You’re a freelance translator? LSP.expert helps you manage your daily translation jobs. It’s easy, fast and secure.

How about you start tracking translation jobs and sending invoices in minutes? You can also manage your clients and generate reports about your business activities. So you always keep a clear view on your planning, AND you get a free 30 day trial period!

More info »



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