regex match exclude specific characters in otherwise similar strings

前端 未结 0 1855
天涯浪人
天涯浪人 2021-02-20 03:44

I have five strings, and I\'d like to only match anything that looks like Hello world! without - in it. Example

Hello world!
Hello-world         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题