title: search for a single quotes in a string and wrap it with other characters
body: <p>I am trying to parse a csv file and in
   the process have come across some
   entries that contain single quotes. I have written the following regex to match more than one match of single quotes, iF the method returns true I am planning to wrap it in another set of characters
   however I am not getting the correct
   output</p>
  
  <p>Below is the pseudo code:</p>
  
  <pre><code>public boolean containsChar()
      {
  
          String inputStr= "Niel O' Brian";
  
              Pattern pattern = Pattern.compile("/'+");
              Matcher matcher = pattern.matcher(inputStr);
              boolean matchFound = matcher.matches();
  
              return matchFound;
      }
  </code></pre>