开发者

ignore anything between

I have certain text added to all my files. I want to delete that from my files. The text is

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0开发者_运维技巧 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
</head>
<body>


<form enctype="multipart/form-data" action="/encryption/index.php" method="POST">



</form>  

I want to include everything after but not above it. How can I do that


Use a PHP DOM Parser or lose your hair with Regex.

I recommend the DOM parser.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜