placing a string

Hi,

I have a small requriement to change a part of string in a sentence starting with "ho".

For E.g I am having the following statements:

I want to go to home,beach.
I will never go to that horrible,place.

Now I want to replace the string starting with "ho" in the above 2 statements it is "home" and "horrible" with "school"

Expected Result:

I want to go to school,beach.
I will never go to that school,place.

I was earlier using

sed -e 's/ho.*/school/'

command but this results in something like this:

 
I want to go to school.
I will never go to that school.

can anyone pls help on this??

sed 's/ho[^,]*,/school,/g' infile
I want to go to school,beach.
I will never go to that school,place.

hi.. try this

echo "i want to go to home,beach" | perl -wln -e 's/^(.*)\bho.*,(.*)/$1school,$2/ and print'
Output:
I want to go to school,beach.

sed -e 's/ho.*,/school,/' input