正则替换文本中的订单号

| 20221129055005BEDF2321370208 |   2 |
| 20221128174353BEDF2915246016 |   2 |
| 20221128190003BEDF2298950850 |   2 |
| 20221128185502BEDF9563671259 |   2 |
| 20221128175803BEDF0398766763 |   2 |
| 20221128220602BEDF0106502999 |   2 |
| 20221128220602BEDF4804341751 |   2 |
| 20221128192002BEDF4024527328 |   2 |
| 20230101234933TBDF3709755956 |   2 |
| 20221128192501BEDF1639030232 |   2 |
| 20221128192502BEDF5456098356 |   2 |
| 20221128175802BEDF7730903980 |   2 |
| 20221114044558DF149529       |   2 |
| 20221128180102BEDF5704318812 |   2 |
| 20221025235435DF892006       |   2 |
| 20220922041818DF557122       |   2 |
| 20220913090121DF015060       |   2 |

例如上面的文本,在SublimeText中 正则替换

正则表达式:(\|\s+)(\w+)(\s{0,} \| 2 \|)

替换 $2

发表评论

邮箱地址不会被公开。