How to remove some text in clipboard for Zoom links

I want to be able to open Zoom links right in Zoom vs bouncing to the browser. I think I can do that in KBM by having the URLs open in Zoom. Tested and working.

The problem is Google Calendar has a dumb link redirect:

ie:

Redirect Notice
Redirect Notice

I want to strip it to show:

Error - Zoom
Redirect Notice

In other words, it should remove: Redirect Notice

How can I do that? What is the cleanest way than to open that cleaned uplink in Zoom (set as a variable)?

Thanks!

You can use the KM Search and Replace action using the Regex option.

SEARCH FOR:
https:\/\/www\.google\.com\/url\?q=

REPLACE WITH:
<nothing> -- leave it blank

If your source link is on the Clipboard, then this will work:
image

Let us know if this works for you.

1 Like

Thanks - I spotted one more issue:

https://www.google.com/url?q=https://us02web.zoom.us/j/82815469789&sa=D&source=calendar&ust=1594029483602000&usg=AOvVaw2dIYvTwH8OZK3L_pn8R1qg

This is the full URL in Google calendar. What I need to extract is bolded - is there a wildcard that could be used to delete that or fetch just the items between:
Right of point a: https://us02web.zoom.us/j/
Left of point b: first & sign

Thanks!

How about this:

KM Test CleanShot 2020-07-01 at 11.15.44

Resulting in:

CleanShot 2020-07-01 at 11.21.15

The regex is:

q=(https.+?)&
1 Like

Thank you so much that worked!

For others curious on what I am doing and how the whole machine works recorded short screencast: https://www.loom.com/share/358787b952d54f41bb0de2109f685474

  • gCal in a site-specific browser (Flatato, cleaner)
  • Lots of issues with Zoom links
  • This maps middle click to copy link, extracts the part I need, launches in Zoom

Thanks!

1 Like

Glad it works for you. Nice video. I’ve never heard of Flotato - looks interesting.

By the way, after watching your video and seeing your KM macro, you can simplify it a bit by deleting the action where you set the variable LocalVariable to %CurrentClipboard% and changing the regular expression action to something like this:

CleanShot 2020-07-01 at 13.37.48

Where it says "System Clipboard" you can use the dropdown to select another clipboard if you wish. That way you get rid of the use of the superfluous variable. Or just leave it - it's up to you!

1 Like