使用XML和XPath从网站上刮地址,有时我只能得到一个字符串,其中嵌入了我想要的邮政编码。提取邮政编码很简单,但有时还会出现其他五位数的字符串。
以下是df中关于这个问题的一些变化。Company, 18540 Main Ave., City, ST 12345 USA", "Company, One Main Ave Suite 18540, City, S
我有不同格式的街道地址字符串。我试过这个旧的,但没有多大帮助。我的字符串格式如下,string_1 = ', landlord and tenant entered into a an agreement with respect to期望产出:到目前为止,我试过了,这是给string_1的,
address_matc