public HTMLAnchor getAnchorByText(String regex) {
		Pattern p = Pattern.compile(regex);
		for (HTMLAnchor a : anchors) {
			final String bodyText = a.getBody();
			if (bodyText != null && p.matcher(bodyText).find())
				return a;
		}
		return null;
	}