Fixed bug in regex searches and removed pytz

The regex searches now look for beginning and end tags a bit better
(this needs to be corrected with a proper nested structure search).