Say if i have lots of php file (.php) and I'm only want to pull out block of code that contain certain words e.g. $this->te Any idea how I do it? using ruby would be better?
if ($attachments && count($attachments) > 0) {
echo "\n\n{$this->te('Attachments')}:\n";
...