n8n/packages/nodes-base/nodes/Microsoft/OneDrive/constants.ts
Bram Kn ff8dd4e604
feat: Add Onedrive Trigger Node (#8742)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Marcus <marcus@n8n.io>
2024-03-19 15:52:45 +01:00

6 lines
240 B
TypeScript

export const MICROSOFT_DRIVE_FILE_URL_REGEX =
'https:\\/\\/onedrive.live.com(?:\\/.*?(?:\\&|\\?)(?:id=|resid=))(.+?)(?:\\&.*)';
export const MICROSOFT_DRIVE_FOLDER_URL_REGEX =
'https:\\/\\/onedrive.live.com(?:\\/.*id=)(.+)(?:\\&cid.*)';