´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • 俵ÀÌ / 2003-08-10 / ¿ÀÈÄ 4:54:16 / 203.255.3.190
    Á¶È¸¼ö : 166
    [Áú¹®] [Æۿ±Û] Á¤ÇØÁø ÅÂ±× ¹þ°Ü³»±âx)
    Public Function stripHTML(strHTML)
    arrCleanTags = array("h1","h2","h3","h4","h5","h6","p","li","ul","ol","div","td","table","tr","u","b","i")
    arrRemoveTags = array("o:p","o:lock","v:(.|\n)+?","span","font", "w:wrap")
    'Strips the HTML tags from strHTML

    Dim objRegExp, strOutput
    Set objRegExp = New Regexp

    objRegExp.IgnoreCase = True
    objRegExp.Global = True
    strOutput = strHTML

    for each tag in arrRemoveTags
    'Clean startTag
    'response.write tag & "<br>"
    objRegExp.Pattern = "<"&tag&"(.|\n)+?>"
    strOutput = objRegExp.Replace(strOutput, "")
    'Clean ensTag
    objRegExp.Pattern = "</"&tag&">"
    strOutput = objRegExp.Replace(strOutput, "")
    next

    for each tag in arrCleanTags
    'Clean startTag
    'response.write tag & "<br>"
    objRegExp.Pattern = "<"&tag&" (.|\n)+?>"
    strOutput = objRegExp.Replace(strOutput, "<"&tag&">")
    'Clean ensTag
    objRegExp.Pattern = "</"&tag&">"
    strOutput = objRegExp.Replace(strOutput, "</"&tag&">")
    next

    stripHTML = strOutput 'Return the value of strOutput

    Set objRegExp = Nothing
    End Function

    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :