HEy, i am having major problems trying to work out this regular expression.
Regular expressions are still quite new to me, and i don't fully understand
them, so please bear with me... thanks!


This is what i wanmt to do, turn the following block of text:

if (top != self) top.location.replace(self.location.href) rcdb - Mantis
(Cedar Point) rcdbroller coaster database MantisCedar Point Quick Search
Coaster  Park Advanced Search Roller CoasterAmusement ParkTree ViewBy
Location & Distance Reports New for 2002New for 2001New for 2000CensusRecord
HoldersInversion Breakdown Other Stuff Site NewsAbout This SiteUser
CommentsFAQLinks Options  English    Metric Pictures Demographics Park:Cedar
Point Type:Steel Status:Operating since 5/11/1996 Categories:Stand Up
Builder:Bolliger & Mabillard (B & M) Cost:$12,000,000 Statistics Length
(feet):3900' Height (feet):145' Drop (feet):137' Inversions:4 Speed (mph):60
Duration (m:ss):2:40 Angle Of Descent (degrees):52 Capacity (riders per
hour):1800 Vehicles Arrangement:3 trains with 8 cars per train. Riders are
arranged 4 across in a single row for a total of 32 riders per train.
Restraints:Shoulder harnesses Height restriction:Riders must be 54" or
taller to ride. Other Information Features:Six elements: 119-foot-tall
vertical loop, 103-foot-high dive loop, heavily banked 360-degree turn,
83-foot-tall inclined loop, 360-degree flat spin and a figure-eight finale.
Problems? Questions? Comments? Your feedback is welcome here.All pages
Copyright  1996-2001 Duane Marden. All Rights Reserved. Terms Of Use. CPU
Time: 0.040 seconds.


Into a nice block of text like this below:

Mantis
Park:Cedar Point
Type:Steel
Status:Operating since 5/11/1996
Categories:Stand Up
Builder:Bolliger & Mabillard (B & M)
Cost:$12,000,000
Statistics
Length (feet):3900'
Height (feet):145'
Drop (feet):137'
Inversions:4
Speed (mph):60
Duration (m:ss):2:40
Angle Of Descent (degrees):52
Capacity (riders per hour):1800
Vehicles Arrangement:3 trains with 8 cars per train. Riders are arranged 4
across in a single row for a total of 32 riders per train.
Restraints:Shoulder harnesses
Height restriction:Riders must be 54" or taller to ride.
Other Information
Features:Six elements: 119-foot-tall vertical loop, 103-foot-high dive loop,
heavily banked 360-degree turn, 83-foot-tall inclined loop, 360-degree flat
spin and a figure-eight finale.


CAN ANYONE WHO IS GOOD WITH REGULAR EXPRESSIONS HELP ME WITH THIS!!

I HAVE AROUND 1000 PAGES TO DO THIS ON!!
PLZ HELP!

Thanks....


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to