theimben 1 Junior Poster

I run a vBulletin forum and Im trying to write a new BB Code.

This would be the syntax:

[parts]
http://www.link1.com
http://www.link2.com
http://www.link3.com
[/parts]

This would then be parsed into:

<a href="http://www.link1.com" class="linkclass">Anchor 1</a>
<a href="http://www.link2.com" class="linkclass">Anchor 2</a>
<a href="http://www.link3.com" class="linkclass">Anchor 3</a>

Im a real regex newbie, I dont understand it at all.

Please help! ^^