ASP 함수 " HTML 태그 제거하기"

by kay posted Jul 31, 2013
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

아래 함수를 이용하시면 됩니다..


Function RemoveHTML( strText )
	dim contTmp
	set tagfree = New Regexp
	tagfree.Pattern= "<[^>]+>"
	tagfree.Global=true
	strText=tagfree.Replace(strText,"")
	RemoveHTML= strText
End Function



참고 Url : http://h5bak.tistory.com/147