var $rows = $('#omx-table td');
$('#search').keyup(function() {
    
    var val = '^(?=.*\\b' + $.trim($(this).val()).split(/\s+/).join('\\b)(?=.*\\b') + ').*$',
        reg = RegExp(val, 'i'),
        text;
    
    $rows.show().filter(function() {
        text = $(this).text().replace(/\s+/g, ' ');
        return !reg.test(text);
    }).hide();
})
@@ -57,23 +57,16 @@
 ion() %7B%0A
-    %0A  
   var va
@@ -72,22 +72,8 @@
 al =
- '%5E(?=.*%5C%5Cb' +
  $.t
@@ -95,113 +95,63 @@
 ()).
-split(/%5Cs+/).join('%5C%5Cb)(?=.*%5C%5Cb') + ').*$',%0A        reg = RegExp(val, 'i'),%0A        text;%0A    %0A  
+replace(/ +/g, ' ').toLowerCase().split(' ');%0A%0A
   $rows.
 show
@@ -150,12 +150,12 @@
 ows.
-show
+hide
 ().f
@@ -177,19 +177,19 @@
 ) %7B%0A    
-   
+var
  text = 
@@ -227,55 +227,212 @@
 ' ')
-;%0A        return !reg.test(text);%0A    %7D).hide
+.toLowerCase();%0A    var matchesSearch = true;%0A    $(val).each(function(index, value) %7B%0A      matchesSearch = (!matchesSearch) ? false : ~text.indexOf(value);%0A    %7D);%0A    return matchesSearch;%0A  %7D).show
 ();%0A%7D)
+;

Improve search functionality without requiring strict match