I hope to make myself understood. I'm very bad at the subject of regular expressions. I'm trying to show the numbers from 0 to 9. But for now I need to show only the number 0 as shown here.
How can I generate it from javascript? Excuse my ignorance, I think I'm doing it wrong and I do not know if I should use ...
Do not think that I have not tried my best, seriously I do not know how to manage to show the number zero correctly.
var myPre = document.getElementById("pre");
myPre.innerHTML = "| -- <br> |"
<div id="pre">
</div>