¹ýÂËhtmlÖеÄËùÓÐͼƬ
<img height=10 hspace=5 src="/uploads/sky.gif" width=10 align=baseline border=0>
ÎÒÒª¹ýÂËÄÚÈÝÖеÄËùÓÐͼƬ¡£ÔõôдÕýÔò¡£ÎÒдµÄÔõôû¶¯°¡
set regIMG = New RegExp
regIMG.IgnoreCase = True
regIMG.Global = True
regIMG.Pattern=" <img.*?>"
' regIMG.Pattern ="(\ <img[^\ <]*\>)"
¡®ÉÏÃæÕâÁ½¸ö¶¼²»¹ÜÓá£Ôõô°ì°¡¡£
ClsTempLoseStr= regIMG.Replace(ClsTempLoseStr,"")
LoseHtml = ClsTempLoseStr
ClsTempLoseStr= ClsTempLoseStr.Replace(regIMG,"");
re.Pattern=" <(.[^>]*)>"
str=re.replace(str,"")
re.pattern="([\s\S]*)(\ <[^>]*)"
str=re.replace(str,"$1$2")
ÕâÑùÊÔÊÔ
Á½ÃÇ´óÏÀ¡£»¹ÊDz»ÐÐ ~_~!
ÕýÔòÕâ¿é£¬Ñ§Ï°£¡
regIMG.Pattern=" <img(.*?)>"
Function LoseHtml(ContentStr)
Dim ClsTempLoseStr,regEx,regexIMG,regexIMGs
ClsTempLoseStr = Cstr(ContentStr)
Set regEx = New RegExp
regEx.Pattern = " </?(?!br\b|p\b|/)[^ <>]*>"
'regEx.Pattern = " <\/*[^ <>]*>"
regEx.IgnoreCase = True
regEx.Global = True
ClsTempLoseStr =Replace(ClsTempLoseStr," ","K_KongG")'¿Õ¸ñ
ClsTempLose
Ïà¹ØÎÊ´ð£º
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using Syst ......
ÏÖÒ³ÃæÉ϶¼ÊÇphpÎļþ£¬ÏÖΪÁ˼õÇáphp³ÌÐòµÄѹÁ¦£¬ÏÖÏë°Ñstr.phpÒ³Ãæ ת»¯³É str.htmlÒ³Ãæ
Ï»ص÷ÓÃstr.phpÒ³Ãæʱ£¬µ÷ÓÃstr.htmlÒ³Ãæʱ¾Í¿É
ÔõôʵÏÖѽ£¬thanks
PHP code:
if(is_file(str.html)){
incl ......
<style>
BODY A:hover {
CURSOR: url('http://files.poqbum.com/Files/Cursors/page1/iloveu2.ani')
}
A:link {
FONT-SIZE: 12px; COLOR: #666666; TEXT-DECORATION: none
}
A:visited {
FONT-SIZE ......
ÕâÊÇÎҵĴúÂ룬´ó¼Ò¿´Ò»ÏÂʲô´í
Dim appPPT As PowerPoint.Application
Dim ppt As PowerPoint.Presentation
&nbs ......
ÎÒÓõÄÊÇÁ¬½Ó³Ø×öµÄ£¬ÅäÁ¬½Ó³ØµÄ·½·¨Ó¦¸ÃûÓÐ´í£¬ÎªÊ²¾ÍÊdzöÏÖÕâÖÖÎÊÌâ
javax.servlet.ServletException: javax.naming.NameNotFoundException: No object bound to name java:comp/env/test
ÇëÎÊ´óÏÀÃÇÕâÊÇÔ ......