没有一定之规
例:
<?php
$s = '
afahfjafkjasf
<table width="80%">
aaa
</table>
akdfjiowqejdksahfn
';
echo eregi_replace("(.*>)(.+)(<.*)","\\2",$s);
?>
例:
<?php
$s = '
afahfjafkjasf
<table width="80%">
aaa
</table>
akdfjiowqejdksahfn
';
echo eregi_replace("(.*>)(.+)(<.*)","\\2",$s);
?>
解决方案 »
- 请教webservice
- php 管理员日志功能怎么写?
- 关于cms配置的问题
- mysql语句使用疑问:count()总是返回0
- 数据库latin1_swedish_ci 怎么显示?
- 关于上传图片,急急急急急急急急,项目要交了
- linux中的上传文件权限不足,怎么办?
- Eclipse 的一个问题:当将编辑器文件编码设置为UTF-8时,含有charset=gb2312的网页中文显示乱码,设置为其它时,无Content-Type的文件显
- 关于socket穿越代理服务器的问题
- 帮忙!急用!请写个每行输3个数据??输完数据库为止!
- 在PHP中调用函数如: fdf_create(void);总是出现Call to undefined function: fdf_create() 哪个库定议了它?
- php中如何传回多个checkbox的值
$s=str_replace("<table width=\"80%\">(.+)<\/table>","\\1",$s);
//此时 $s="这里是内容"应该是这样