1. Lazar

    rmongodb: Return count of all instances within a document

    I have a mongodb with 21,000 documents. The fields include: _id, dateOfSpeech, speaker, speechType, and speechTranscript. I want to construct a query of the speechTranscript field that returns the count of the number of times a given pattern occurs in a document. So far I have only been able...
  2. trinker

    Remove last ")" occurance

    Just when I think i'm getting these regexes a little bit something relatively easy comes my way and I can't solve it. I want to remove the last occurance of the right round bracket (parenthesis ")"). Help please B <- c("term(lambda).2", "term(:)).2", "term(:))", "term(:") #example...