Семполе регулирующее выброс

  let re = /ab+c/;
mehedi hasan