thankyourtender
V2EX  ›  问与答

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

  •  
  •   thankyourtender · Oct 5, 2014 · 4006 views
    This topic created in 4413 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
    imn1
    Oct 5, 2014
    1
    ^.* .*$
    TangMonk
    TangMonk
    Oct 5, 2014❤️1
    2
    \s
    thankyourtender
    thankyourtender
    OP
    Oct 6, 2014
    3
    2l的有问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2888 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 11:01 · PVG 19:01 · LAX 03:01 · JFK 06:01
    ♥ Do have faith in what you're doing.