* Added two suggestions for regex improvement, one fully worked out
Replaced a number of unneeded preg_() calls with the more efficient strpos() and substr_replace()

Improved one regex combi call to be more efficient
Identified potential bug and provided fix suggestion.
Potential bugfix when replytocom link use " instead of ' as attribute delimiter + suggestion for future improvement
Added initials to fixes not yet applied so if anyone needs to discuss, they know who to discuss with ;-)