[Solved] RegularExpression in Javascript? [closed]


Using jQuery filter

$('a').filter(function(index) { 
  return (this.onclick.match(/setSectionName\(''\);showFunctionMenu2\(/) !== null);
});

Reference: http://api.jquery.com/filter/

solved RegularExpression in Javascript? [closed]