title: Formating Strings in input like tags in HTML
body: <p>Hey guys i want to use the jquery Autocomplete plugin and instead of separating the tags with , i want to format each tag like displayed in the attached picture.
  <img src="https://i.stack.imgur.com/2sEuR.png" alt="enter image description here"></p>