Regular Expressions 101

Community Patterns

Battlemetrics line fixer

1

Regular Expression
Python

r"
([0-9]{1,2}:[0-9]{2}) (AM|PM)(\n)(.*)\n
"
gmu

Description

Fixes battlemetrics newline formatting

Submitted by Neun - 21 days ago