Hello everyone

i need to knw how can i search a .txt file for all words between brackets ()

if the word was (code) then
nothing;

else
do a replacement for each letter
the replacement based on a table that i have
but i need to know how can i replace each letter by another one


it's a kind of decrypting system

thanks all