For instance, let's consider the HTML code below:
<p ><strong>PM Narendra Modi visits BJP headquarters</strong>[youtube-video id='XHDUCalVmis' width='640' height='360' ]</p><hr />
In this scenario, the goal is to specifically target the
[youtube-video id='XHDUCalVmis' width='640' height='360' ]
segment. It was suggested that a regular expression could be the solution.