Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] meeraguna@gmail.com is offline
external usenet poster
 
Posts: 1
Default Strip out the Html tags from a .txt file

We send out a .txt file to our cilent. The text file contains some
html tags. Our cilent doesn't want those html tags in the data. How can
we strip out the html tags from the text. Is there any tool available
to do it. When I googled, i got tools to strip out the html tags from
html files. But I couldn't find one for a .txt file.

Thanks

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Dan Freeman Dan Freeman is offline
external usenet poster
 
Posts: 214
Default Strip out the Html tags from a .txt file

The only difference between HTML files and TXT files is the filename. Rename
*.txt to *.html and they're exactly the same file.

Dan

wrote:
We send out a .txt file to our cilent. The text file contains some
html tags. Our cilent doesn't want those html tags in the data. How
can we strip out the html tags from the text. Is there any tool
available to do it. When I googled, i got tools to strip out the html
tags from html files. But I couldn't find one for a .txt file.

Thanks



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
JoAnn Paules [MVP] JoAnn Paules [MVP] is offline
external usenet poster
 
Posts: 2,113
Default Strip out the Html tags from a .txt file

If you are talking about BODY, etc, I'd use Find and Replace. I'd replace
them with nothing at all. If you search for the character, you'll be able
to make sure that you found everything. (Or most of it - it's been several
years since I've hand-coded an HTML file.)

--

JoAnn Paules
MVP Microsoft [Publisher]

~~~~~
How to ask a question
http://support.microsoft.com/KB/555375




wrote in message
ups.com...
We send out a .txt file to our cilent. The text file contains some
html tags. Our cilent doesn't want those html tags in the data. How can
we strip out the html tags from the text. Is there any tool available
to do it. When I googled, i got tools to strip out the html tags from
html files. But I couldn't find one for a .txt file.

Thanks



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change how Word formats a .txt file geekgrrl New Users 11 January 9th 07 07:39 AM
Can't open file in Office 2003 Word or Excel from Windows Explorer Larry Frohman Microsoft Word Help 11 November 16th 06 02:55 PM
HOw to decrypt a word doc Yasser Shahzad Qureshi Microsoft Word Help 10 April 21st 06 11:08 PM
Word applies direct format on File open Uriel Microsoft Word Help 16 November 27th 05 07:22 PM
ms-word creates html dash problem for front page jack w. bonney vancouver Microsoft Word Help 10 July 11th 05 05:55 PM


All times are GMT +1. The time now is 04:25 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"