Match empty string, comma, hyphen or underscore once using regex

后端 未结 2 2000
伪装坚强ぢ
伪装坚强ぢ 2021-01-21 14:28

I\'m trying to figure out how to match the following strings:

blaOSXbla
os X bla
bla os-x
blablaOS_Xbla

A common pattern is pretty easy:

2条回答
提交回复
热议问题