Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to convert all in my richtexbox into html tags for sending as email. Thanks

What I have tried:

I'm using the post done by Oscar Londono[^] and this work for me but I can't detect the images in text to convert them.
Posted
Updated 29-Oct-16 16:35pm
v4
Comments
I think you rejected the answer by mistake. In that case, please accept that again.

1 solution

You can use a Regular Expression to detect an image. Image starts with a <img tag. If you can detect that, then you can do whatever you want to do.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900