Search string or regexp in given dom element.