Dear Buddies,
Need your help to make a simple regex to grab all codes from <!-- Begin Code --> until <!-- End Code -->
I would like capture this code for deleting in Yahoo pipes.
code:
<!-- Begin Code -->
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '132829708015487', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
<ul id="socialTools">
<li class="twitter">
<script type="text/javascript">
tweetmeme_style = 'compact';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
</li>
<li class="digg">
<script type="text/javascript">
(function() {
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript';
s.src = 'http://widgets.digg.com/buttons.js';
s1.parentNode.insertBefore(s, s1);
})();
</script>
<a href="http://digg.com/></a>
</li>
<li class="buzz">
<span>
<a title="Post on Google Buzz" class="google-buzz-button"></a>
<script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script>
</span>
</li>
<li class="facebook">
<fb:like href="" />
</li>
</ul>
<div style="clear: both;"></div>
<!-- End Code -->
Thanks for your kind help.
Best Regards,