Updated regex.
Refactored adding sub URLs list to expandable key item, this is just step 1.
Refactoring step 2 (done).