Posted By

fugue on 12/29/06


Tagged

regex


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vali29


Replace URL with link


 / Published in: PHP
 

  1. $text = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", "<a href=\"\\0\">\\0</a>", $text);

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: tannerc on January 18, 2010

With ereg_replace being unsupported by future versions of PHP, is there another way to do this as effectively?

Posted By: CraigFoot on February 21, 2010

preg_replace?

Posted By: cocofan on August 27, 2010

Baselworld is the replica watches world's biggest replica watches and most important event for the timepiece and jewellery industry, which is why luxurious watch brands wait for this moment to present replica handbags their best replica handbags and newest designs.BaselWorld is held in Basel, Switzerland, home to all luxurious watch ugg boots makers ugg boots. The 2009 exhibit presented many great watch models.If you are a loyal lover of TAG replica watches watch pieces replica watches and Porsche, this new Grand Carrera timepiece ugg boots nicely combines ugg boots the two entities. TAG consistently creates new watch models for its Carrera replica watches collection and replica watches this one does not disappoint.Here are two tag heuer timepieces that replica watches debuted at replica watches the 2009 show and which are available HERE and NOW for a much cheaper price than you will find anywhere else…guaranteed.

Posted By: acai0235 on September 9, 2010

In addition to Archuleta, guests include: Enrique Iglesias, Lynyrd Skynryd, WAR, John Ondrasik of Five for UGG Bailey Button Triplet boots Fighting, OneRepublic, Barry Manilow, Herry Lewis, David Archuleta, Alison Sweeney of Days of UGG Bailey button boots Our Lives and Biggest Loser, Nancy O’Dell, journalist Jann Carl, Nigel Lythgoe of American Idol and So You Think You Can Dance, Richard Belzer of UGG Cardy boots Law & Order, Ace Young, Brandon Barash of General Hospital, Billy Gilman, John Pinette and many more.Jerry Lewis Telethon 2010: American Idol alum David Archuleta is not the only UGG boots 2010 star performed at the 2010 Jerry Lewis Telethon – Disney in Mitchel Musso will act UGGs Bailey button too! That’s what Mitchell tweeted:I will speak in Las Vegas, Jerry Lewis Telethon Mon morning. 6 am Las Vegas time. Check local list.Let us know if you tune in!

Posted By: Johnsmithlucky2012 on September 14, 2010

I bought a perfect replica submariner watch from Replica Watches Store just cost me $80 with Free Shipping option

There you can buy all submariner series watch with very low prices, such as Rolex Submariner Replica watches includes Rolex Submariner Date Replicas, Rolex Submariner 16610 Replicas, Rolex Submariner 50th anniversary Replicas, Rolex Submariner Green, Rolex Submariner Blue, Rolex Submariner Full Gold, Rolex Submariner Ceramic Bezel Watches, rolex series includes Fake Rolex Replicas, Rolex Daytona, Rolex oyster perpetual DateJust Breitling watches, includes Breitling for Bentley, Breitling Navitimer

Posted By: acai0235 on September 24, 2010

Cubs right fielder Tyler Colvin was taken to UGG boots a Miami-area hospital Sunday after he was struck and impaled by the shattered bat head of teammate Welington CastilloUGG boots sale .Colvin is in stable position, and there was minimal external bleeding as a result of cheap UGG boots the bat head, but it did puncture the wall of his chest. Sutures were required on UGG Bailey Button Triplet boots the wound, and a tube was inserted in the area to allow air in and prevent his lungs from collapsing.He will remain in the hospital for UGGs Bailey button at least the next two to three days.Colvin was hurt scoring from third base on Castillo's ground-rule double in the second inning of Chicago's game against UGG Cardy boots the Marlins at Sun Life Stadium. It's not immediately clear if Castillo uses a maple bat -- the type that have come under fire in Bailey Button UGG boots recent years. Close to half of Major League Baseball players use maple bats, which have thinner bat handles than UGGs Classic Cardy other varieties and thus splinter more easily. Tyler Colvin's condition is stable after he was impaled by a broken bat inUGG Bailey button boots his upper left chest.Colvin has minimal external bleeding but needed X-rays and sutures. It's unclear at this point how this will affect his status going forward. It will be interesting to Classic Cardy ugg see if this incident leads MLB to think about banning the easily-breakable maple bats that are so prevalent in baseball these days.

Posted By: replicawatches on October 2, 2010

The superiority of  Replica Rolex Watches are not only for the best price,but also for the high quality of replica watches.We offer cheap replica rolex watches,replica watch,fake watches online for sale.

Posted By: replicawatches on October 3, 2010

Rolex is considered to be one of the most prolific Swiss wristwatch manufacturing companies in the world. With their sheer elegance and uncompromising attention to detail, Rolex is the largest luxury watch brand worldwide, producing around 200 watches per day. such as replica watches, watches replica , replica watches uk, watches online for sale, wrist watches ,and cheap watches ,you can find replica rolex at very reasonable prices and high quality from www.ireplicawatchesuk.com.

Posted By: replicawatches on October 5, 2010

welcome to replica watches uk shop.There are all kinds of the best replica watches,replica watch,replica rolex watches on sale.You can buy replica watches uk here.

Posted By: maggie on October 5, 2010

Do you like the Relica watchesReplica Cartier Roadster Watches?It's a wide variety,Replica Cartier Santosappearance beautifulReplica Cartier Pasha Watches, noble and occasion.Replica Cartier Santos

44 Panerai makes a full line of quality Swiss watches. If you can get the same watch for so much less as a replicaReplica Breitling Chronomat Evolution Watches, would you consider it over the original? I think your answer will be yes. The same qualityReplica Breitling Chronomat Evolution Watchesand appearance of the original Panerai watch can be yours for a very reasonable price.Replica Cartier watchesAmong all the producers ofPanerai replica watcheswe have the rock bottom prices.

Posted By: accsk on January 21, 2011

Ah !Thank you for sharing。Look forward to your articles. I will follow you

Posted By: carlalee on June 23, 2011

Here we have our stunning Glashutte PanoReserve Replica for your perusal. Our timepieces are brimming with just as much grace, elegance and beauty as authentic ones, only with a price that your bank account will actually thank you for! These attractive Glashutte PanoRetroGraph Replica in men’s, ladies, and unisex sizes will be the crowning touch to any outfit, any occasion, and any season. Our Glashutte Senator Replica are only the very best quality, as we test each one before shipping and get our merchandise only from the best suppliers. As we are in the watch business, we know how important time is to you. Thus, we offer the fastest shipping around not to mention a reply to any inquiries within three hours of receipt! With our high quality Glashutte Sport Evolution Replica and super-low prices, you won’t find a better place to shop.

You need to login to post a comment.