n8n/packages/nodes-base/nodes/Microsoft/OneDrive/constants.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
240 B
TypeScript
Raw Normal View History

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.*)';