I want to match these strings with regex and take all the data between <div> data </div> I have tried everything but still can't do it...
This is my regex 101: https://regex101.com/r/w7et0M/2
Here is the code:
<div> Sentinel. Winged Guardian cannot have restricted attachments.
Forced: After an attack in which Winged Guardian defends resolves, pay 1 Tactics resource or discard Winged Guardian from play.
</div>
<div>Attach to a hero.
Attached hero gains +1 Attack.
Action: Pay 1 resource from attached hero's pool to attach Dunedain Mark to another hero.
</div>
<div>Action: Search the top 5 cards of your deck for any number of Eagle cards and add them to your hand. Shuffle the other cards back into your deck.
</div>
<div>Attach to a hero.
Attached hero gains +1 Attack.
Action: Pay 1 resource from attached hero's pool to attach Dunedain Mark to another hero.
</div>
<div>Guarded.
Response: After the players quest successfully, the players may claim Signs of Gollum if it has no attached encounters. When claimed, attach Signs of Gollum to any hero committed to the quest. (Counts as a Condition attachment with: 'Forced: After attached hero is damaged or leaves play, return this card to the top of the encounter deck.')
</div>
Can anyone help me find the solution?