Updated to add linefeeds to regexp to account for Windows usage
Removed debug