我想提取电话号码,但它唯一匹配的Place C,而不是匹配的Place A和Place B。有人能帮我吗?提前感谢!
Regex
(.+?)\s*(\d+.*Singapore\s+\d{6}\b|\d+.*S\d{6})\b(?!(\.+?)\s*)(\+65[\d ]*)编辑文本
Place A
2 Bayfront Avenue Galleria Level #B1-01 Singapore 018972 Tel: +65 6634 9969
Place B
23 Serangoon Central #B1-10 Singapore 556083 Phone: 6634 7787
Place C
1 Northpoint Drive South Wing #B1-107 Singapore 768019 6481 3433发布于 2020-03-16 02:25:46
https://stackoverflow.com/questions/60699591
复制相似问题