E
Erakis
Hi,
In this text :
*****************************************************************
MULTIPLE WARNINGS for ...
This is a beautiful day... but WARNING for...
WARNING is a word for ....
*****************************************************************
I would like to replace the all WARNING occurence by "<span
style="color :red;">WARNING</span>"
and WARNINGS occurences by "<span style="color :red;">WARNINGS</span>"
Here is what I did so far but it not seem to works :
string result = new Regex( @"/WARNING.*/g").Replace(myString,
"<span...");
Thank for your help
In this text :
*****************************************************************
MULTIPLE WARNINGS for ...
This is a beautiful day... but WARNING for...
WARNING is a word for ....
*****************************************************************
I would like to replace the all WARNING occurence by "<span
style="color :red;">WARNING</span>"
and WARNINGS occurences by "<span style="color :red;">WARNINGS</span>"
Here is what I did so far but it not seem to works :
string result = new Regex( @"/WARNING.*/g").Replace(myString,
"<span...");
Thank for your help