acpp
V2EX  ›  问与答

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

  •  
  •   acpp · Apr 9, 2013 · 2742 views
    This topic created in 4846 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   ·   3721 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 10:39 · PVG 18:39 · LAX 03:39 · JFK 06:39
    ♥ Do have faith in what you're doing.