• 0 Posts
  • 1 Comment
Joined 18 days ago
cake
Cake day: September 6th, 2025

help-circle
  • (?<!\d) -> Not sure why you’re doing this.

    \d+\. -> Look for at one or more digits followed by a period. None of the sentences have numbers before the period, and if the previous section didn’t exclude them, this would.

    \.\d+ -> look for a period followed immediately by one or more numbers. This should get most of the trailing 0’s, but you’ll miss the ones on their own newline and following a quotations mark.

    \.0\ -> If you only have a single character you’d like to remove, there’s no harm in enumerating it.