Posted by monomaniac21 on 01/03/07 15:37
hi all
using preg_replace
how can i replace the letter i in a string with nothing (delete it)
when it is the last letter or it is followed by an i?
i have products that are listed in a db with i or ii as in 320ii and i
want to strip out the i's at the end when displaying the product name
thanks
marc
[Back to original message]
|