Current location: Hot Scripts Forums » General Web Coding » JavaScript » java codes to strip html tags


java codes to strip html tags

Reply
  #1 (permalink)  
Old 07-21-05, 03:27 AM
y2j150 y2j150 is offline
New Member
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
java codes to strip html tags

hi anyone has an example to show how to strip html tags using java codes not vb not perl. can show here? thanks!can email mi at y2j150@hotmail.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 08-05-05, 04:44 PM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
Java isn't JavaScript.
To strip HTML tags you can use the .replace() method and a regular expression.
I suggest you find a good Reference book on Javascript (check my signature) and study the language a bit more before continuing. Without more detailed infromation on how/where you want this done, not many can help you.
__________________
[W3Schools - learn all about the standards.] [QuirksMode - Browser Quirks] [MS's Online Reference Docs] [DOM in Gecko.]
Please pay attention to stickys, announcements and forum rules, thank you.
Please also remember Code Wrappers and [SOLVED] Marking, this helps everyone.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
html tutoral thefrtman HTML/XHTML/XML 5 04-27-09 11:25 AM
merging html with java mrnudie JavaScript 1 04-05-05 06:29 AM
How can I strip certain tags between certan points? Keith PHP 10 03-25-05 10:59 AM
freeware code to strip HTML tags ? xgab Perl 5 04-19-04 08:31 PM
removing specified html tags from text memon PHP 1 01-15-04 09:56 PM


All times are GMT -5. The time now is 07:34 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.