摘要: 一、js截取某个字符串前面的内容 eg: birthdate.match(/(\S*)T/)[1].replace(/-/g, "/") 二、常用截取 1.js截取两个字符串之间的内容 var str = "aaabbbcccdddeeefff"; str = str.match(/aaa(\S*) 阅读全文
posted @ 2022-02-14 11:35 笑笑未来 阅读(1416) 评论(0) 推荐(0) 编辑
摘要: 一、字符串截取问题: //1.<Case No.> = <Centre Code>/current year/#####, ##### = same no. from <Case Profile No> Case Profile No:CAP-0001003-2022-00143 Case No.: 阅读全文
posted @ 2022-02-14 09:54 笑笑未来 阅读(4855) 评论(0) 推荐(0) 编辑