Added regex for locating page sections

Replaced current implementation with the regular expression for page sections for seperating page section content when editing with form.

Change-Id: I20bd9475188c6f18ed1bb272f3b37f5dc08d1a49