Remove
From Inside
Tag
I made simple BBCode script and it works all fine. But then later i use a javascript library to beautify my codes in . Now the only problem I am facing that
Solution 1:
Could u provide us an example of the code u want to test please.
Pattern should looks like : '/.*<pre>.*(<br \/>).*<\/pre>/'
Here is the link of my try : https://regex101.com/r/pV2qX8/2
NOTE : u can reverse the capturing braces - It was just to show u it catched only the <br />
inside <pre></pre>
.
NOTE 2 : About sub-question u can find the answer : here
(Sub-Q : multiple <br />
instances with condition)
Post a Comment for "Remove
From Inside Tag"