Where xxx could be anything a character or a number
I want to remove the font tags and replace the xxx value with the replacement character
Here's a sample
This is the original Tag
Test<font face="mathetical pi 1" color="#000000"> ghi</font> Interview
Now i want to just display
Test ≤ Interview
Similarly
if any dont names containg the name Bold then a <b> </b> tag should be automatically insterted
eg Test <font face="GroteskBold">xxxx</font>
Shoud be repaced to Test <b>xxxx</b>
I know this is a bit too much. But i am stuck...Please help me out.
Thanks in advance
14-02-2006 at 05:29 AM
|
~Bean~ Level: VB Guru Registered: 07-04-2003 Posts: 488
Re: Conditional Insert
First off, I suggest you use some CSS for formatting. You could easily factor this into your app. What app are you using anyways? Is this in an Office application (VBA) or VB?
Another question, you said:
quote:This is the original Tag
Test<font face="mathetical pi 1" color="#000000"> ghi</font> Interview
Now i want to just display
Test ≤ Interview
So you don't want to display the "ghi"?
____________________________
Eggheads unite! You have nothing to lose but your yolks.