1 down vote favorite

I need to find bold , italic, underline Text, paragraph and line breaks in VB Rich Text box and replace the find result with the following :

Bold text with '< b >bold text < / b >'

Italic text with "< i >Italic text < / i >"

Underline text '< u >underline text < / u >'

Paragraph with '< p >paragraph text< / p >'

line break with '< / br >'

Can any one help on this?

Thanks in Advance

Here's a list of RTF codes.

In short:

/par for <p>
/b for <b>
/i for <i>
/ul for <u>

Last three optionally followed by a 1 for on, 0 for off.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.