How i can select a character in an HTML element with Javascript or jQuery
For example i want to select the first or the second or the third "]" carchter
in <p>
<p> Lorem Ipsum is simply dummy [text] of [the] printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, </p>
And when i write for example console.log(character1) it will give me the first ] in the paragraph that i make
The order of the character is important for me because i want to change the first ']' with something else