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?
15/03/2024 Is t" /> 15/03/2024 Is t" /> 15/03/2024 Is t"/>
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?
i think this will work