How can i use regex to get the following. the matter within the tags might be alphabets,numbers & meta characters.
Input Srting : "<p>Hi </p><p>there</p>"
Expected output: "Hi<p>there</p>.
How can i use regex to get the following. the matter within the tags might be alphabets,numbers & meta characters.
Input Srting : "<p>Hi </p><p>there</p>"
Expected output: "Hi<p>there</p>.
Until futher specs arrive, use the following:
<p>(.)*?</p>
and use the first (and only) group (.)*?
This matches <p> Hi </p>
then use \1 to refference ' Hi '