replacing by sed

hi
my input file has got
>,,,, or >, or >,,,,,,
there are independent number of commas after >....
i want the o/p as > only that is just to remove "," after">"

another is:
i want to replace the last line of the file and to replace it by "hello"...how to do?...
any nice script
plz help

Data File Example:

$ cat data
Knight Eon >,,,,
Hello World >,,
Hello Earth >
How is everyone >,,,,,, Around >,, Yo >,

The relevant SED Script:

sed -e 's/>,*/>/g' data

Output:

$ sed -e 's/>,*/>/g' data
Knight Eon >
Hello World >
Hello Earth >
How is everyone > Around > Yo >

Combining your second query:

$ sed -e 's/>,*/>/g;$s/.*/Hello/g' data
Knight Eon >
Hello World >
Hello Earth >
Hello

hi all,

thanks alot ....it worked!!!!!
gr8 efforts.......highly appreciate all of your help and efforts