I'm new to working with regex and am learning on the go with pattern matching. I've stumped myself trying to match a few lines off documents while leaving the white space proceeding newlines behind;
I've built (?s)(?<=Development involving:).*?(\S.+)(?=\(As) to capture the sample below but it also matches the white space on new lines such as before "covered" and "relaxations".
Development involving: Construct Magic house with 34 car attached garage, covered deck,
covered walkway, covered porch, and driveway with front and rear setback
relaxations —Total site coverage 48.3%
(As
If anyone has some tips to get me rolling again it would be much appreciated.