So I looked around on Stackoverflow and I understand finding and replacing text works something like this:
perl -pi -w -e \'s/www.example.com/www.pressbin.com/g;
You can use other characters than '/' to specify patterns. For example:
perl -pi -w -e 's,path/to/file,new/path/to/file,g;' *.html