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

  • 關於本站
  • 免責聲明