从非格式化字符串中提取数据

时间:2010-06-01 21:46:15

标签: string extraction text-extraction

我想提取某些部分,并能够将其放入一个漂亮的电子表格格式。重要的部分是地址,病房号码,平方英尺和价格。我打算在PHP(新手)中尝试一些非常复杂的东西,但是认为可能有一种更简单的方法。

数据如下所示:

243-467
1402 E. Mt. Pleasant Ave.     50th Ward approximately 1,416 sq. ft. more or less BRT# 502440300 Improvements: Residential Dwelling
JANET DENNIS     C.P. October Term, 2007 No. 01082     $105,641.01     Morton R. Branzburg, Esq. 

 244-712A
5407 Chestnut St. - Premise A     60th Ward Apt 2-4 Unts 2 sty Masonry; Improvement Area 4,610 sq. ft. BRT# 603011200 Improvements: Residential Dwelling
ALEXANDER TALMADGE, JR. (WHO HAS 1/3 INTEREST), BERNADINE ABAD AND BERNARD BLAIR TALMADGE         $32,153.00     Drew Salaman, Esq. 

1 个答案:

答案 0 :(得分:0)

数据来自哪里?你能修改它的输出吗?如果是,请尝试输出CSV文本(http://en.wikipedia.org/wiki/Comma-separated_values)。 Excel将导入CSV文件。