DinMan 0 Newbie Poster

I want to write a program changing the notation of all hexadecimal numbers found in an assembly source file from traditional (<decimal_digit><hex digits>h) to C-style (0x<hex_digits>).
I dont understand how can i read the file and change the notation.

I am new to assembly programming and any help would be appreciated.