位置: 编程技术 - 正文

PHP:mb_ereg_replace()的用法_mbstring函数

编辑:rootadmin
mb_ereg_replace

推荐整理分享PHP:mb_ereg_replace()的用法_mbstring函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4 >= 4.2.0, PHP 5)

mb_ereg_replace — Replace regular expression with multibyte support

说明 string mb_ereg_replace ( string $pattern , string $replacement , string $string [, string $option = "msr" ] )

Scans string for matches to pattern, then replaces the matched text with replacement

参数

pattern

The regular expression pattern.

Multibyte characters may be used in pattern.

replacement PHP:mb_ereg_replace()的用法_mbstring函数

The replacement text.

string

The string being checked.

option Matching condition can be set by option parameter. If i is specified for this parameter, the case will be ignored. If x is specified, white space will be ignored. If m is specified, match will be executed in multiline mode and line break will be included in &#;.&#;. If p is specified, match will be executed in POSIX mode, line break will be considered as normal character. If e is specified, replacement string will be evaluated as PHP expression.

返回值

The resultant string on success, or FALSE on error.

注释

Note:

mb_regex_encoding()指定的内部编码或字符编码将会当作此函数用的字符编码。

Warning

处理非信任的输入时从不使用e 修饰符,就不会转码(即调用 preg_replace())。不注意这些会很可能会导致应用程序引发远程代码执行的漏洞。

参见

mb_regex_encoding() - Set/Get character encoding for multibyte regex mb_eregi_replace() - Replace regular expression with multibyte support ignoring case

PHP:mb_ereg_replace_callback()的用法_mbstring函数 mb_ereg_replace_callback(PHP5=5.4.1)mb_ereg_replace_callbackPerformaregularexpresssionseachandreplacewithmultibytesupportusingacallback说明stringmb_ereg_replace_callback(string$pattern,callable$call

PHP:mb_ereg_search_getregs()的用法_mbstring函数 mb_ereg_search_getregs(PHP4=4.2.0,PHP5)mb_ereg_search_getregsRetrievetheresultfromthelastmultibyteregularexpressionmatch说明arraymb_ereg_search_getregs(void)Retrievetheresultfromthelastmultibyteregu

PHP:mb_ereg_search_getpos()的用法_mbstring函数 mb_ereg_search_getpos(PHP4=4.2.0,PHP5)mb_ereg_search_getposReturnsstartpointfornextregularexpressionmatch说明intmb_ereg_search_getpos(void)Returnsthestartpointforthenextregularexpressionmatch.参数

标签: PHP:mb_ereg_replace()的用法_mbstring函数

本文链接地址:https://www.jiuchutong.com/biancheng/275027.html 转载请保留说明!

上一篇:PHP:mb_ereg_search_init()的用法_mbstring函数

下一篇:PHP:mb_ereg_replace_callback()的用法_mbstring函数

  • 在计算应纳税所得额时下列
  • 企业给员工交公积金国家有规定的
  • 进仓费税率
  • 建筑公司预收了款项已经开了增值税发票怎么做账
  • 发票勾选错了已报税怎么办
  • 冲红的专票要给购买方吗
  • 资产负债表里的存货包括哪些科目
  • 待抵扣进项税什么时候抵扣
  • 连号发票不许报销的具体发票类型
  • 什么叫税控盘清卡
  • 其他应付款转为营业外收入要交税吗
  • 车辆购置税完税证明网上打印
  • 营业外支出企业所得税怎么填
  • 机械租赁有哪些岗位
  • 固定资产盘盈盘亏的会计科目
  • 汇算清缴之后报销去年的票如何分录?
  • 房屋租赁合同样本书
  • 员工基本养老保险缴纳比例
  • 问10个问题
  • 管理费用职工福利费
  • 法院的诉讼费和保全费怎么算
  • 705元大写金额怎么写的
  • 本月没有销项只有进项,月末怎么做账
  • 广播影视服务需要交文化事业建设费吗
  • 定率征收怎么申报
  • 减免的附加税要计税吗
  • win11怎么压缩图片画质
  • 如何把文件夹加密码锁手机
  • 酒店布草洗涤赔偿怎样折旧
  • window10没有激活码
  • 对于在某一时点履行义务,企业应当在
  • 何为租赁合同
  • 弥补以前年度亏损后缴纳所得税
  • 税法中一年按多少天算
  • 大数据可视化前端界面模板
  • 生成php文件
  • 达摩院 2021
  • 计算机视觉算法
  • 在建工程明细科目有土地使用权摊销吗
  • python中datetime.datetime
  • 帝国cms插件编写教程
  • 一般纳税人内账考虑税额吗
  • 产品淘汰造成的影响
  • 增值税附表一填写
  • sql查询必须在什么的基础上创建
  • 公司对公账户没钱了辞退员工
  • 去年漏记了收入,可以记今年吗
  • 高速过路费怎么补交
  • 影视公司临时演员怎么办
  • 景观石属于采购哪个品目
  • 享受研发费用加计扣除需要什么条件
  • 业务招待费可以开专票抵扣吗
  • 冲销应付账款暂估应付账款的分录怎么做
  • 会计 预提
  • sql存储过程实例有哪些
  • 在sp_executesql中使用like字句的方法
  • win7安装mysql5.5
  • windows共享功能
  • redhat linux6.5安装教程
  • upgrade.exe - upgrade进程是什么意思
  • 怎么在ubuntu上编程
  • win8系统桌面图标
  • win10系统下如何安装谷歌浏览器插件?win10系统下谷歌浏览器插件的安装方法图文教程
  • magento开发教程
  • win7系统怎么用无线接收器怎么用
  • WIN10系统怎么删除软件
  • Windows 7 OpenGL配置,解决“无法启动此程序,因为计算机中丢失glut32.dll。”
  • shell备份文件脚本
  • 批处理文件命令大全
  • ssh连不上centos
  • 文件包解密
  • 查cpu内存命令
  • Unity3D值Input Manager
  • 关于numpy中loadtxt函数的说法
  • bootstrap与Jquery UI 按钮样式冲突的解决办法
  • jquery选择器的作用
  • 江苏电子税务局操作手册
  • 陕西电子税务局新版
  • 北京 国税局
  • 长沙市社保中心主任
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设