Hi all How to parsing input.tex using Tex ? here I have pseudo code if char "h" followed by char "a" then do something here ( ex. changing char h with two symbol @@) else if char "h" followed by char "o" then do something here ( ex. changing char h with three symbol ###) else if char "h" followed by char "e" then do something else here endif Thanks Wawan-Indonesia