This is my source.php file i want copy line number and line code if pattern matches between \'<(single quot less than) and \'>;(sinle quot greater than comma) <
if you want to copy all lines that happens to be between '< and >'; into the destination.php :
sed -ne "/',/>'\;/wdestination.php" source.php