title: How to use regexp on file, line by line, in Python
body: <p>Here is my regexp: <code>f\(\s*([^,]+)\s*,\s*([^,]+)\s*\)</code>  </p>
  
  <p>I'd have to apply this on a file, line by line. The line by line is OK, simple reading from file, and a loop. But how do I apply the regexp to the lines?  </p>
  
  <p>Thanks for all the help, and sorry for the noob question.</p>