acpp
V2EX  ›  问与答

有懂正则的朋友出来帮下忙

  •  
  •   acpp · Apr 9, 2013 · 2770 views
    This topic created in 4868 days ago, the information mentioned may be changed or developed.
    判断字符串中不能包含有以下字符
    空格 * ? < > / \ !
    1 replies    1970-01-01 08:00:00 +08:00
    bigdude
        1
    bigdude  
       Apr 9, 2013
    [^\s\*\?\<\>\/\\\!]

    未测试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2722 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 14:15 · PVG 22:15 · LAX 07:15 · JFK 10:15
    ♥ Do have faith in what you're doing.