bookmarklet
We can not use a regex in getElementsByXXX("/^like this*/"). So we have to get superset of what we need and then evaluate each element whether its name (or tagname or something) matches to the regex. Example <form> <input type="text" name="target0" value="target0" /> </form>