Skip to content

Commit

Permalink
Endre regex (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmsolber authored Jan 2, 2024
1 parent e50c406 commit 82952a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/agreement-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { sortAlphabetically } from './sort-util'

export function getPostTitle(postTitle: string): string {
const regex = /^(post\s\d{1,2}:\s|\d{1,2}:\s)/i
const regex = /^(post\s\d{1,2}:\s|\d{1,2}:\s|\d{1,2}\.\s)/i
return postTitle.replace(regex, '')
}

Expand Down

0 comments on commit 82952a9

Please sign in to comment.