JSFiddle - React, Tailwind, and code Playground
by Peter Noble
HTML
<input id=i><pre id=o>
JavaScript
f=
s=>s.replace(/'([aeiou])'/gi,"$1̈")
i.addEventListener("input",_=>o.innerText=f(i.value))
by Peter Noble
<input id=i><pre id=o>
f=
s=>s.replace(/'([aeiou])'/gi,"$1̈")
i.addEventListener("input",_=>o.innerText=f(i.value))