now that you have the email addresses and phone numbers as list of strings in matchesyou want to put them on the clipboard the pyperclip copy(function takes only single string valuenot list of stringsso you call the join(method on matches to make it easier to see that the program is workinglet' print any matches you find to the terminal if no phone numbers or email addresses were foundthe program should tell the user this make your program look like the following#python phoneandemail py finds phone numbers and email addresses on the clipboard --snip-for groups in emailregex findall(text)matches append(groups[ ]copy results to the clipboard if len(matches pyperclip copy('\njoin(matches)print('copied to clipboard:'print('\njoin(matches)elseprint('no phone numbers or email addresses found 'running the program for an exampleopen your web browser to the no starch press contact page at pageand press ctrl- to copy it to the clipboard when you run this programthe output will look something like thiscopied to clipboardinfo@nostarch com media@nostarch com academic@nostarch com info@nostarch com ideas for similar programs identifying patterns of text (and possibly substituting them with the sub(methodhas many different potential applications for exampleyou couldfind website urls that begin with clean up dates in different date formats (such as and by replacing them with dates in singlestandard format pattern matching with regular expressions