Lets say in file.php, there is lots of php print text: <?php print t('Blabla'); ?>, <?php print t('Text Here'); ?>, etc.
What I need is to remove <?php print t(' and '); ?> of the php print text.
So, <?php print t('Blabla'); ?> will become Blabla, <?php print t('Text Here'); ?> will become Text Here, etc.
If one php print text in one line, I think I know how to use sed to replace, but how about if one long line contains several php print text
I just wonder how to replace it?

gat the end of thesedcommand, it tries to match multiple occurences on the same line.sed 's/bladibla-As-Is/bladibla-To-Be/g' – jippie Jun 2 '12 at 14:28g. I just wonder (if can) single line command that will remove<?php print t('and'); ?>of the php print text. (Question updated. Hope it will be easier to understand) – apasajja Jun 2 '12 at 14:49