S
Sami
How can I get the inner content of a tag with regular expression
I couldn't the the opening and closing tags to match properly
Input
"fjkdjfkdj <div>sadfdf dfdf <b>dfd</b>dfdf<div>nested<div>tags</div>.</div>
</div>dfdfdf"
Get content of the first div tag
Output
"sadfdf dfdf <b>dfd</b>dfdf<div>nested<div>tags</div>.</div> "
thank you
Sami
I couldn't the the opening and closing tags to match properly
Input
"fjkdjfkdj <div>sadfdf dfdf <b>dfd</b>dfdf<div>nested<div>tags</div>.</div>
</div>dfdfdf"
Get content of the first div tag
Output
"sadfdf dfdf <b>dfd</b>dfdf<div>nested<div>tags</div>.</div> "
thank you
Sami