how to remove ^M from windows text file in unix

Hi,

Need help on windows text file that i get in unix server and need to change and resend for process.

Now there is a ^M will be placed for each line of that file i need that to be removed .

Someone please help me.

Thanks in advance for all help.

This has been answered so many times. Please try searching the forum.

You can use dos2unix, sed and many more solutions are there