acpp
V2EX  ›  问与答

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

  •  
  •   acpp · Apr 9, 2013 · 2693 views
    This topic created in 4814 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   ·   2681 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:04 · PVG 19:04 · LAX 04:04 · JFK 07:04
    ♥ Do have faith in what you're doing.