正则表达式 以A开头B结尾 取中间的内容

1 # 以A开头 B结尾取中间字符串
2 (?<=A).*?(?=(B|$))

 

posted @ 2022-02-26 13:36  Thenext  阅读(1520)  评论(0)    收藏  举报