Q:

How to hide parent div based on child name? 

I have a page with numerous divs.  The main div contains 3 sub divs.  I put a search box and i want to show the main div based on what i type and hide the others.  
I looked on the internet and so far i managed to do this: https://jsfiddle.net/qaho8hjt/6/
$('.my-textbox').keyup(function() {
    var value = $(this).val();
    var exp = new RegExp('^' + value, 'i');        

    $('.change_req .orizontala').each(function() {
        var isMatch = exp.test($('.projectName', this).text());
        $(this).toggle(isMatch);
    });
});

The problem is that i don't know how to hide the parent div.  I can only hide the div that i search for. 
Thank you. 
Edit: Thank you all for you're responses. 

A:

Code is almost fine, just that you are hiding the div that has the content where you should be hiding its immediate parent, demo
replace 
$(this).toggle(isMatch);

with
$(this).parent().toggle(isMatch);

A:

You can use closest() to get the nearest containing div.  Try this:
$(this).closest('.change_req').toggle(isMatch);

Updated fiddle

