Mega Code Archive

 
Categories / Ruby / Development
 

Grep(men)

opening = "this is a test \n this is a test,\n" p opening.grep(/test/)