Do I not replace the content in the mark when I use the regular keyword for help? HTMLcode & lt; ahref & quot; # & quot; & gt; test & lt; a & gt; # & quot; & gt; test it & lt; a & gt; test it to see & lt; ahref & quot; # & quot; & gt; test & lt; do I not replace the content in the mark when I use the regular keyword for help?
HTML code
Test me. in Lhasa, it seems that the judicial board has put a card swipe machine and tested the crazy test. the Saks tornado saw that the test was so relaxed and tested.
Replace the word test with A link, for example, replace but the test already in the mark is not replaced.
It cannot be implemented after a long time. Thoughts
------ Solution --------------------
Implemented
1 .(? <= ^ | )(? :(?!] +>).) + (] +> | $)
Other than matching
2. replace the test in this result with the content you want.
If not (? <=) Is modified
(^ | )(? :(?!] +>).) + (] +> | $)