optimize the link and content extractor

use regex