}
}
private String process(String textToParse) {
List<String> result = new ArrayList<String>();
Extractor extractor = HtmlExtractor.getExtractorImpl(cssJqueryLabeledChoice.getText());
final int nbFound = extractor.extract(
cssJqueryField.getText(), attributeField.getText(), -1, textToParse, result, 0, null);
// Construct a multi-line string with all matches
StringBuilder sb = new StringBuilder();
sb.append("Match count: ").append(nbFound).append("\n");