Google Drive scenarios

I want my Google Drive to read not only id but also url,
How do you do that?
I would appreciate clear responses.
Thanks Phineas

Welcome to the Make community!

What do you mean by “read (url)”?

Fro example, the Google Drive “search” and “watch” modules does return

2 Likes

I want it to read url and not id like in the picture

You can use a Text Parser “Match Pattern” module with this regular expression pattern to get the documentId from the Google Drive URL.

d\/(?<documentId>[^/]+)

Regex test: https://regex101.com/r/EukUM5/1

Screenshot

Output

Screenshot_2024-01-05_090121


For more information, see Text Parser in the Make Help Center:

Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. The search pattern is a regular expression (aka regex or regexp), which is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning.

Hope this helps!