import { regEx } from '../../../util/regex.ts'; export function readOnlyIssueBody(body: string): string { return body .replace(regEx(/ To.*?, click on a checkbox below\./g), '') .replace(regEx(/\[ ] /g), '') .replace(regEx(/ - \[ ] .*/g), '') .replace(regEx(/ - \[ ] .*/g), '') .replace(regEx(/ - \[ ] .*/g), '') .replace(regEx(/ - \[ ] .*/g), ''); } export default readOnlyIssueBody;