Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

Strip HTML Tags (GPL)

"Remove_HTML_Tags.sh" is a Bourne shell script that will remove and strip-away all HTML tags on a line or in a passage. Given a string, this script removes the HTML tags and outputs the resulting text without the HTML tags.

"Remove_HTML_Tags.sh" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Usage

Remove_HTML_Tags.sh "string"

Use a '-' in place of the string to read from standard input (pipe).

Examples

  $ Remove_HTML_Tags.sh "<p>hello world</p>"
hello world

$ echo "<p>Hello world</p>" | Remove_HTML_Tags.sh -
Hello world

Attached File: Remove_HTML_Tags.sh (668 B)

Chieh Cheng
Fri, 20 Nov 2009 01:45:21 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

Title: Replace HTML Tags (GPL)
Weblog: Cynosure.X International
Excerpt: "Replace_HTML_Tags.bash" is a BASH script that will replace all HTML tags with a string of your choice. Given a HTML string and a substitution string, this script replace the HTML tags and outputs the resulting text with the substituted string. "Replace_HTML_Tags.bash" is distributed as executable s . . .
Tracked: Tue, 27 Mar 2012 00:42:52 +0400

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 10 + 0?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

56 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.