•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 456,507 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,663 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 1326 | Replies: 2 | Solved
![]() |
•
•
Join Date: Aug 2006
Posts: 57
Reputation:
Rep Power: 3
Solved Threads: 0
hi all,
I am working in a windows application. i have a text say for eg,
<img src="http://static.ibnlive.com/pix/sitepix/06_2007/kumaraswamy_cm90.jpg"
alt="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3."
title="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3"
border="0" width="90" height="62" align="left" hspace="5&"/>
Kumaraswamy has denied reports that he would step down on October 3
i need to remove the img tag entirely and display only this part.
Kumaraswamy has denied reports that he would step down on October 3
i tried using the following regular expression to extract img tag.but its not working
Regex r=new Regex("<img[^<>]+>")
can anybody help out with this?
Thanks in advance.
Regards
Exelio
I am working in a windows application. i have a text say for eg,
<img src="http://static.ibnlive.com/pix/sitepix/06_2007/kumaraswamy_cm90.jpg"
alt="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3."
title="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3"
border="0" width="90" height="62" align="left" hspace="5&"/>
Kumaraswamy has denied reports that he would step down on October 3
i need to remove the img tag entirely and display only this part.
Kumaraswamy has denied reports that he would step down on October 3
i tried using the following regular expression to extract img tag.but its not working
Regex r=new Regex("<img[^<>]+>")
can anybody help out with this?
Thanks in advance.

Regards
Exelio
![]() |
•
•
•
•
•
•
•
•
DaniWeb C# Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Regular Expressions (VB.NET)
- Parsing a log file using regular expressions (C#)
- Regular Expressions (C#)
- Regular Expressions (Computer Science and Software Design)
- Regular Expressions (C#)
- Regular Exp (Python)
- mod_rewrite: help with regular expressions (Linux Servers and Apache)
- matching regular expressions (Java)
Other Threads in the C# Forum
- Previous Thread: C# and .Net 1.0
- Next Thread: Database Connection



Linear Mode