\(Uni(t|ts)|Sho(p|ps)|Offic(e|es)|Fla(t|ts)?|Rm|Roo(m|ms)|Suit(e|es)).\w+(-|&)?\w*\gi
我正在使用上面的模式来查找匹配项,但有 2 种情况正则表达式未找到,如何在编辑正则表达式时找到“Rm.2301”和“Flat/Room 5”?
在线编辑器中的用例 https://regex101.com/r/Sc1Feg/4
unmatched cases
Rm. 2301, Blk. B3-B4,
Flat/Room 5, 9/F,
matched cases
rm A, 17/F.,
Flat F, 9/F,
Flat G1, 10/F,
Flat C, 36/F, Block 1,
Flat 1107&1108, 11/F,
Flat 2301, 23/F, F
Unit 3, 2/F, L
Unit 1603 16/F
Offices D-F, 23/F,
Office D-F, 23/F,
Unit 1901, 19/F,
Units A, 6/F,
Shop 14, G/F,
Rooms 2202,
Suite 702, 7/F.,
吃鸡游戏
元芳怎么了
慕妹3146593
繁星点点滴滴
相关分类