Difference between revisions of "Turning US financial number formatting into French Wordfast Classic"

From Wordfast Wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
|-
 
|-
 
|Replace with ||,\1
 
|Replace with ||,\1
|-
 
|Use Wildcards
 
 
|}
 
|}
 +
::Use Wildcards
 +
  
 
then,
 
then,
Line 15: Line 15:
 
|-
 
|-
 
|Replace with ||\1^s\2
 
|Replace with ||\1^s\2
 +
|-
 
|Use Wildcards
 
|Use Wildcards
 
|}
 
|}

Revision as of 08:02, 6 November 2017

This means changing US thousand separators (commas) into non-breaking spaces, and US decimal separators (full stops) into commas. Here is a two-pass method:

Find what .([0-9][0-9])>
Replace with ,\1
Use Wildcards


then,

Find what ([0-9]),([0-9][0-9][0-9])
Replace with \1^s\2
Use Wildcards

This method is offered as sample in Wordfast's Pandora's box commands. Note that Wordfast's "FR" command executes FR actions only in the current target segment, at segment validation time. Use this FR in automatic mode ("Replace all") if the figures and numbers in your document are essentially financial. If, however, your document mixes scientific figures with financial figures, I recommend using this FR method with a visual confirmation for each replacement (in Ms-Word's "Find" dialog box, click "Find Next" and "Replace" rather than "Replace all").

 Back to Wordfast Classic User Manual