
So here is my my code
Regular Expression \[raf\](.*?)\[/raf\]
Replacement
<a id="rc-defa460" class="rafl" href="$1" >a Rafflecopter giveaway</a>
<script src="//d12vno17mo87cx.cloudfront.net/embed/rafl/cptr.js"></script>
What I want to do is that the mycode takes the URL and substitutes in the above code.
Here is the original raffle copter code
<a id="rc-defa460" class="rafl" href="http://www.rafflecopter.com/rafl/display/defa460/" rel="nofollow">a Rafflecopter giveaway</a>
<script src="//d12vno17mo87cx.cloudfront.net/embed/rafl/cptr.js"></script>