logo
  • 教程列表
  • SO官方文档
  • 使用 RegExp 替换回调
    • 用户定义了 REReplaceCallback 函数
    • 使用 REReplaceCallback 函数
  1. StackOverflow 文档
  2. coldfusion 教程
  3. 使用 RegExp 替换回调
  4. 使用 REReplaceCallback 函数

使用 REReplaceCallback 函数

Created: November-22, 2018

REReplaceCallback('YOUR REGEX GOES HERE','AND YOUR STRING HERE',function(groups) {
    //now you can access the 'groups' array containing all the captured groups
    return result; //return whatever you've processed inside
});
  • 用户定义了 REReplaceCallback 函数

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明