I am trying to replace the second / of the following string with a
tag so that the year will break line
<span class="post-date">15/03/2024</span>
Is there any way to replace a character(or string in general) with an html tag, like the <br>
tag?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I am trying to replace the second / of the following string with a
tag so that the year will break line
<span class="post-date">15/03/2024</span>
Is there any way to replace a character(or string in general) with an html tag, like the <br>
tag?