48897 Members __ Online

정렬
HOME스터디[s]프로그램(종합)

ASP - 정규식을 이용한 html 태그 제거 함수

posted by 흐르는 푸르른물
date :
hit : 22893, scrab : 1 , recommended : 1

Function stripTags(HTMLstring)
             Set RegularExpressionObject = New RegExp
            With RegularExpressionObject
                      .Pattern = "<[^>]+>"
                      .IgnoreCase = True
                      .Global = True
            End With
            stripTags = RegularExpressionObject.Replace(HTMLstring, "")
            Set RegularExpressionObject = nothing
End Function 







댓글 2 | 엮인글 0

이전글이 없습니다.
인젝션 키워드 관련 asp 소스 입니다.





%3Cul+class%3D%22Klocation%22%3E%3Cli+class%3D%22first%22%3E%3Ca+href%3D%22..%2Fhompy%2F%22%3EHOME%3C%2Fa%3E%3C%2Fli%3E%3Cli%3E%3Ca+href%3D%22..%2Fhompy%2Fstudy.php%22%3E%EC%8A%A4%ED%84%B0%EB%94%94%5Bs%5D%3C%2Fa%3E%3C%2Fli%3E%3Cli%3E%3Ca+href%3D%22..%2Fhompy%2Fstudy.php%3Fmid%3D64%22%3E%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8%28%EC%A2%85%ED%95%A9%29%3C%2Fa%3E%3C%2Fli%3E%3C%2Ful%3E