Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2011, 12:32 PM
seteshpl seteshpl is offline WORD: Rtf and search-replace (regexp/fonts) Windows XP WORD: Rtf and search-replace (regexp/fonts) Office 2000
Novice
WORD: Rtf and search-replace (regexp/fonts)
 
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>
etc.
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
  #2  
Old 09-06-2011, 01:35 AM
OTPM OTPM is offline WORD: Rtf and search-replace (regexp/fonts) Windows 7 32bit WORD: Rtf and search-replace (regexp/fonts) Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi
Unfortunately I can do nothing with the attached file as I dont know the source application it came from. Are you able to post a copy of the Word document as it is. I will then take a look for you and see what can be done.
Tony(OTPM)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
WORD: Rtf and search-replace (regexp/fonts) Macro to Replace Fonts ballj_35 Word 3 05-10-2011 01:10 AM
Embed fonts from Word 2007 to PDF rec Word 0 08-29-2010 10:16 AM
Search Replace Copy dblack7211 Word 0 05-05-2010 01:19 PM
Search and Replace - Clear Search box JostClan Word 1 05-04-2010 08:46 PM
WORD: Rtf and search-replace (regexp/fonts) Word Templates and Fonts rdenia Word 2 07-08-2009 06:36 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:41 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft