update parsing algorithm, exclude link with #