V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
RickyC

问个正则表达式

  •  
  •   RickyC · Nov 20, 2020 · 1577 views
    This topic created in 1994 days ago, the information mentioned may be changed or developed.

    要从 "……2……2……b……" 里面提取出最短的 "2……b" 怎么写? ……表示任意字符

    非常感谢

    1 replies    2020-11-20 11:57:56 +08:00
    cin
        1
    cin  
       Nov 20, 2020   ❤️ 1
    2[^2]*b
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3468 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 11:16 · PVG 19:16 · LAX 04:16 · JFK 07:16
    ♥ Do have faith in what you're doing.