title: R: How to select files in directory which satisfy conditions both on the beginning and end of name?
body: <p>I need to select files which start with "M" and end with "<em>.csv". I can easily select  files which start with "M" : list.files(pattern="^M"), or files which end with "csv": list.files(pattern = "</em>.csv"). But how to select files which satisfy both conditions at the same time?</p>