View Single Post
Old 09-05-2011, 12:32 PM
seteshpl seteshpl is offline Windows XP Office 2000
Join Date: Sep 2011
Posts: 1
seteshpl is on a distinguished road
Default WORD: Rtf and search-replace (regexp/fonts)

Hi all,

Currently I am stuggling with two basic issues:

1). I got rtf (at least looks similar to this format) file but Word does not decode it correctly and I am getting it in native format without formatting. Can you advise how to open it correctly (see input attached saved as txt)?

2). I have a test in word which contains elemets in bold/italic/underline. Now I am thinking how I can use search-and-replace to make the following change:
this is bold. -> <b>this is bold</b>
this is italic;44 -> <i>this is italic;44</i>
I tried with regular expressions, but cannot build regexp to cover all cases (as sometimes . at the end of sentence is italic, sometimes is not).

thanks, Setesh
Attached Files
File Type: txt Alzheimer.txt (48.5 KB, 11 views)
Reply With Quote