O RegEX do Word é bem estranho. :) Experimente estas configurações:
- Localizar:
*: (*^13)
- Substituir:
Isso corresponderá a cada linha ( ^13
= marcador de retorno de carro) e substituirá pela peça correspondente / encontrada entre colchetes (após o :<space>
).
Aqui está uma lista de caracteres especiais do RegEx do Word:
Characters String Matches
------------------------------------------------------------------
^1 Picture (Except pictures with Float Over Text
property)
^2 Auto-referenced footnotes
^5 Annotation mark
^9 Tab
^11 New line
^12 Page OR section break
^13 Carriage return
^14 Column break
^19 Opening field brace
(when the field braces are visible)
^21 Closing field brace
(when the field braces are visible)
? Question Mark
^? Any single character
(not valid in the Replace box)
^- Optional hyphen
^~ Non-breaking hyphen
^^ Caret character
^# Any digit
^$ Any letter
^& Contents of Find What box
(Replace box only)
^+ Em Dash (not valid in the Replace box)
^= En Dash (not valid in the Replace box)
^u8195 Em Space Unicode character value search
(not valid in the Replace box)
^u8194 En Space Unicode character value search
(not valid in the Replace box)
^a Comment
(not valid in the Replace box)
^b Section Break (not valid in the Replace box)
^c Replace with Clipboard contents (Replace box only)
^d Field
^e Endnote Mark (not valid in the Replace box)
^f Footnote Mark (not valid in the Replace box)
^g Graphic (Does not find graphics with the Float
Over Text property)
^l New line
^m Manual Page Break
^n Column break
^t Tab
^p Paragraph mark
^s Non-breaking space
^w White space (space, non-breaking space, tab; not valid
in the Replace box)
^nnn Where "n" is an ASCII character number
^0nnn Same as above, but uses ANSI characters (ALT+nnn PC only)
(Produces ASCII on Macintosh)
^unnnn Word 97 Unicode character search where "n" is a decimal
number corresponding to the Unicode character value.