export function parseUrls(text: string): string[] {
return text
.split(/\r?\n/)
.map((line) => line.trim())
.filter((line) => line.length > 0);
}
export function extractUrls(text: string): string[] {
const matches = text.match(URL_EXTRACT_REGEX);
return matches ? [...matches] : [];
}