2010-06-12, 01:46 PM
Hey guys I want a MyCode that matches all Cards listed in a DeckCode and links to them.
And I want the regex to set a link for every card like
<a href=http://foo/?bar=Card 1>Card 1</a>
<a href=http://foo/?bar=Card 1>Card 2</a>
<a href=http://foo/?bar=Card 1>Card 3</a>
<a href=http://foo/?bar=Card 1>Card 4</a>
...
BlackLotus
[deck]Card 1
Card 2
Card 3
...
[/deck]
And I want the regex to set a link for every card like
<a href=http://foo/?bar=Card 1>Card 1</a>
<a href=http://foo/?bar=Card 1>Card 2</a>
<a href=http://foo/?bar=Card 1>Card 3</a>
<a href=http://foo/?bar=Card 1>Card 4</a>
...
BlackLotus