473,516 Members | 2,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

htmldecode problem

aa
I have a text like "addads asdasd http://microsoft.com asdasdsad" and I want
in the page this text wold be
"addads asdasd http://microsoft.com asdasdsad"
picture like simple text, but the web link
would be like href, but not all text, just a http://microsoft.com
Nov 19 '05 #1
3 1056
Hi,

sounds like a regular expression task to search for links in the entire
text.

--
Teemu Keiski
ASP.NET MVP, Finland

"aa" <va**********@rst.lt> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
I have a text like "addads asdasd http://microsoft.com asdasdsad" and I want
in the page this text wold be
"addads asdasd http://microsoft.com asdasdsad"
picture like simple text, but the web link
would be like href, but not all text, just a http://microsoft.com
Nov 19 '05 #2
aa
Can you say me how to make this

"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:uc****************@TK2MSFTNGP10.phx.gbl...
Hi,

sounds like a regular expression task to search for links in the entire
text.

--
Teemu Keiski
ASP.NET MVP, Finland

"aa" <va**********@rst.lt> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
I have a text like "addads asdasd http://microsoft.com asdasdsad" and I
want
in the page this text wold be
"addads asdasd http://microsoft.com asdasdsad"
picture like simple text, but the web link
would be like href, but not all text, just a http://microsoft.com

Nov 19 '05 #3
Ah, sorry. :-)

Here you go:

Automatically hyperlink URLs in ASP.NET Pages
http://www.devx.com/vb2themax/Tip/18824

--
Teemu Keiski
ASP.NET MVP, Finland

"aa" <va**********@rst.lt> wrote in message
news:OP**************@TK2MSFTNGP12.phx.gbl...
Can you say me how to make this

"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:uc****************@TK2MSFTNGP10.phx.gbl...
Hi,

sounds like a regular expression task to search for links in the entire
text.

--
Teemu Keiski
ASP.NET MVP, Finland

"aa" <va**********@rst.lt> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
I have a text like "addads asdasd http://microsoft.com asdasdsad" and I
want
in the page this text wold be
"addads asdasd http://microsoft.com asdasdsad"
picture like simple text, but the web link
would be like href, but not all text, just a http://microsoft.com


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
23133
by: b.Wurm | last post by:
how can I write a server.htmlDecode function? thank you
10
8321
by: Danny | last post by:
In the classic asp, I can use escape built-in function (server side function) like this: <script language=javascript> var myContent = unescape(<%=escape(strContent)%>) </script> How do I do that in asp.net? Seems like escape server side function is no longer provided in asp.net, or am I missing something here?
4
2404
by: Sonu Kapoor | last post by:
Hello, does anybody knows the equilant of Server.HtmlDecode when creating a windows service? Thanks, Sonu
5
3511
by: Jonas Åkermark | last post by:
Hello! I have a problem decoding the czech character: r The HTML code for this character is ř but when running Server.HTMLdecode on that string it just returns ř instead of the real char. (It works on a lot of other characters) I need to decode this string in order to render an image with this character as a part of a headline.
8
5305
by: emailmygroup | last post by:
I am trying to decode character ‘#; but it is not working. Anybody knows how to decode this character?
0
7276
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7408
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7581
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7548
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5714
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4773
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3267
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3259
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
488
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.