removePossessiveApostrophes method Null safety

String removePossessiveApostrophes(
  1. String text
)

Removes all posessive apostrophies from text, e.g Mary's returns Mary.

Implementation

static String removePossessiveApostrophes(String text) =>
    text.replaceAll(RegExp(rPosessiveApostrophe), '');