public HTMLInput getInputByName(String regex) {
		Pattern patt = Pattern.compile(regex);
		for (HTMLInput i : inputs) {
			final String linksName = i.getName();
			if (linksName == null)
				continue;
			if (regex.equals(linksName) ||
				(patt.matcher(linksName).find())) {
				return i;
			}
		}
		return null;
	}