Regular Expression code to make URLs as s
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngregexp' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Felipe Coury
I need an example of how to implement a routine, based on a regular
expression that replaces all URLs in a string with a linked one.

Something Like:

' strNew should be
' "I am not in <a href='http://www.learnasp.com'>
' http://www.learnasp.com</a> now"
strNew = MakeThisLink( "I am not in http://www.learnasp.com right now" )

Thanks in advance,

Felipe Coury

Reply to this message...
 
    
Steven A Smith (VIP)
There is at least one URL matching regular expression at http://regxlib.com
(was http://aspsmith.com/re/ )

Steve

Steven Smith
President, ASPAlliance.com
http://aspalliance.com The #1 ASP.NET Community
http://aspsmith.com ASP.NET Training for ASP Developers
Click here to reveal e-mail address
----- Original Message -----
From: "Felipe Coury" <Click here to reveal e-mail address>
Newsgroups: aspngregexp
To: "aspngregexp" <Click here to reveal e-mail address>
Sent: Friday, August 24, 2001 5:37 PM
Subject: [aspngregexp] Regular Expression code to make URLs as <a href>s

[Original message clipped]

Reply to this message...
 
    
Yannick Smits
See my post in this newsgroup from 2-7-2001.

hth,
Yannick Smits
"Felipe Coury" <Click here to reveal e-mail address> wrote in message news:468054@aspngregexp...
[Original message clipped]

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com