Hello,
I have weather forecast data formatted like so:
loc_id#location#state#forecast_date#issue_date#issue_time#min_0#max_0#min_1#max_1#min_2#max_2#min_3#max_3#min_4#max_4#min_5#max_5#min_6#max_6#min_7#max_7#forecast_0#forecast_1#forecast_2#forecast_3#forecast_4#forecast_5#forecast_6#forecast_7#
090180#Airey's Inlet#VIC#20091204#20091204#161830###12#19#12#21#12#19#12#17#11#20#12#20#11#17#Mostly clear.#Shower or two.#Light shower or two.#Shower or two.#Rain. Windy.#Shower or two. Windy.#Showers. Windy.#Few showers.#
072146#Albury / Wodonga#VIC#20091204#20091204#162014###11#25#11#29#14#32#17#25#9#27#12#28#12#23#Clear.#Sunny.#Sunny.#Mostly sunny.#Few showers. Windy.#Morning cloud.#Partly cloudy.#Morning cloud.#
089085#Ararat#VIC#20091204#20091204#161830###8#21#7#24#9#24#10#19#8#22#8#22#8#19#Mostly clear.#Afternoon shower or two.#Mostly sunny.#Shower or two.#Shower or two.#Shower or two. Windy.#Shower or two.#Shower or two.#
087113#Avalon#VIC#20091204#20091204#161830###11#21#10#24#11#23#12#19#10#23#11#23#11#19#Mostly clear.#Shower or two.#Sunny.#Shower or two developing.#Rain. Windy.#Becoming windy.#Showers. Windy.#Few showers.#
085279#Bairnsdale#VIC#20091204#20091204#161830###10#22#10#25#12#25#13#21#9#26#11#25#11#21#Mostly clear.#Possible afternoon shower.#Mostly sunny.#Possible late shower.#Rain then shower or two.#Partly cloudy.#Shower or two. Windy.#Shower or two.#
And I'm trying to get my head around how I would go about selecting one area (say, Ararat) and put the data available there into an array in an order that makes sense with PHP5. I have limited experience using regular expression and I'm afraid I need some help with this one.
Also, is the formatting of this data standardised or just something proprietary?
Thanks in advance!