Guest_imported
New member
- Jan 1, 1970
- 0
Hi. How would you make all occurences within a regex search be changed?
I'm using;
$thing =~ s/0/<img border=\"0\" src=\"0\.gif\">/;
at the moment, but it only changes the first occurence of that number, and not the rest. Is there something I need to put after the last / ?
Thanks
Andy
I'm using;
$thing =~ s/0/<img border=\"0\" src=\"0\.gif\">/;
at the moment, but it only changes the first occurence of that number, and not the rest. Is there something I need to put after the last / ?
Thanks
Andy