I have a column of names like:
- Quaglia, Pietro Paolo
- Bernard, of Clairvaux, Saint, or
- .E., Calvin F.
- Swingle, M Abate, Agostino, Assereto
- Abati, Antonio
- 10-NA)\u, Ferraro, Giuseppe, ed, Biblioteca comunale ariostea. Mss. (Esteri
I want to make a Custom text facet with openrefine that mark as "true" the names with one comma and "false" all the others, so that I can work with those last (".E., Calvin F." is not a problem, I'll work with that later).
I'm trying using "Custom text facet" and this expression:
if(value.match(/([^,]+),([^,]+)/), "true", "false")
But the result is all false. What's the wrong part?