Re: mb_eregi_replace
- From: "Fran García" <fgarciarico@xxxxxxxxx>
- Date: 30 Jan 2007 08:32:13 -0800
I've a possible solution. You can use some javascript code to replace
all the occurrences with something like this:
myRe2 = new RegExp('à bon chat', 'gi');
document.getElementById('only_context').innerHTML = new
String(document.getElementById('only_context').innerHTML).replace(myRe2
,'<b>$&</b>');
You must include the text, that you wanna replace into a div called
'only_context' or whatever.
.
- References:
- mb_eregi_replace
- From: Fran García
- Re: mb_eregi_replace
- From: Fran García
- mb_eregi_replace
- Prev by Date: Re: Calculating some formulas from database data
- Next by Date: Re: PHP and upload
- Previous by thread: Re: mb_eregi_replace
- Next by thread: PHP and upload
- Index(es):
Relevant Pages
|