function doIt() {
  
  var ruleOne = 'aeiou';
  var ruleTwo = 'repeated char';
  var ruleThree = ['ab', 'cd', 'pq', 'xy'];
  
  var input = $('#lol').text();
  
  $('#result').text('Result = ' + result);
}
  
function replaceAll(str, find, replace) {
  return str.replace(new RegExp(find, 'g'), replace);
}

@@ -151,16 +151,135 @@
 text();%0A
+  var inputArr = input.split('%5Cn');%0A  %0A  for(var i = 0; i %3C inputArr.length; ++i) %7B%0A    //%0A    // DO TESTS!%0A    //%0A  %7D%0A
   %0A  $('

Update custom.js