位置: 编程技术 - 正文

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函数

  • 为什么税务申报要补缴
  • 哪些占用土地的行为不征收耕地占用税?
  • 以旧换新销售货物时,一律按照新货物的价格缴纳增值税
  • 股权投资基金账户有监管吗
  • 暂估发票到账出入库单要填吗
  • 海关未抵扣证明
  • 出口抵减内销产品
  • 印花税工会经费会计分录
  • 购买商品用于抵债的会计分录要怎么做?
  • 进口关税专用缴款书在哪里打印
  • 2021年2月适合公司开业的日子
  • 个人所得税手续费
  • 接受捐赠收入要计入企业所得税应纳税所得额吗
  • 债务重组过程
  • 进项税转出的会计处理
  • 汽车保险费里的钱能退吗
  • 企业注销固定资产处理
  • 净资产回报率的变化
  • tp link无线路由器设置
  • 老毛桃u盘启动盘制作工具怎么安装win10系统 老毛桃u盘安装win10系统图文教程
  • win11卓越性能模式
  • php判断查询是否有结果
  • win7系统怎么重装win10系统
  • 发生额怎么算
  • asmproserver.exe是什么进程 asmproserver进程信息查询
  • the模板引擎
  • 陈列费用明细表怎么做
  • 财务费用为负数是好事还是坏事
  • 建行E信通贴现需要什么资料
  • 超分辨率代码
  • vue3 响应式ui框架
  • python绘制散点图的函数
  • 固定资产减值损失属于营业外支出吗
  • 代理返点怎么算
  • 股东分红缴税期限
  • 裁员补偿金如何合理避税
  • css中字符间距怎么设置
  • 保函被索赔支付什么意思
  • 爬虫技术是做什么的
  • phpcms v9搬家不同步怎么办
  • 企业罚钱合理吗
  • 每天统计数据的表格
  • 代数分配法的优缺点和适用范围
  • 金银首饰以旧换新会计处理
  • 融资租赁固定资产折旧年限
  • 隔月发票退回是怎么回事
  • 小规模增值税减按1%缴纳,如何申报
  • 投资款如何界定
  • 公司开业两年后辞职
  • 先付款后开票还是先开票后付款
  • 营业外收入明细账图片
  • 存货总账根据什么填列
  • 账面价值,账面净值,账面余额三者的区别
  • win10系统可以自己安装驱动吗
  • linux图形化界面怎么打开命令窗口
  • windowmsgserver32是什么
  • winXP运行内存查看
  • winproxy.exe - winproxy是什么进程
  • win8系统崩溃按f8没用
  • Linux中RedHat CentOS Ubuntu Fedora的区别详解
  • win7系统桌面图标不见了怎么办
  • cocos2dx视频教程
  • [置顶]马粥街残酷史
  • unity制作ar手机游戏
  • perl 文本文件处理
  • 元素显示模式
  • Node.js中的construct构造函数
  • win7系统设置wifi热点
  • centos搭建php
  • js点击div改变css样式
  • mailto的使用技巧分享
  • nodejs bff
  • javascript零基础入门
  • 开票信息不一致怎么回事
  • 农村摩托车上牌要什么证件和手续
  • 陕西省国税务局大企业处长邓谷祥简历
  • 安徽省渔业管理办法第十条规定
  • 上海房产税税收
  • 国税开票系统怎么增行
  • 所有企业都要做应急预案吗
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设