thankyourtender
V2EX  ›  问与答

PHP 用正则表达式如何匹配到带有空格的语句?

  •  
  •   thankyourtender · Oct 5, 2014 · 3740 views
    This topic created in 4281 days ago, the information mentioned may be changed or developed.
    PHP用正则表达式如何匹配到带有空格的语句?

    空格有可能会出现在任何地方,在线等。
    着急... 先谢了
    Supplement 1  ·  Oct 5, 2014
    就是普通的sql语句这种
    3 replies    2014-10-06 12:48:49 +08:00
    imn1
        1
    imn1  
       Oct 5, 2014
    ^.* .*$
    TangMonk
        2
    TangMonk  
       Oct 5, 2014   ❤️ 1
    \s
    thankyourtender
        3
    thankyourtender  
    OP
       Oct 6, 2014
    2l的有问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3788 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 04:17 · PVG 12:17 · LAX 21:17 · JFK 00:17
    ♥ Do have faith in what you're doing.