I found this on StackOverflow but it took quite a bit of searching to find. Here you go:
1 | title_str = title_str.replace(/((https?|ftp|telnet|file):((\/\/)|(\\\\))+[\w\d:#@%\/;$()~_?\+-=\\\.&]*)/g, "<u><a href='$1'>$1</a></u>"); |
I found this on StackOverflow but it took quite a bit of searching to find. Here you go:
1 | title_str = title_str.replace(/((https?|ftp|telnet|file):((\/\/)|(\\\\))+[\w\d:#@%\/;$()~_?\+-=\\\.&]*)/g, "<u><a href='$1'>$1</a></u>"); |
This entry was posted on March 18, 2010, 9:02 pm and is filed under ACTIONSCRIPT 3.0. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^