#!/bin/bash
s='device `canon_dr:libusb:003:004'"'"' is a CANON DR-C125 scanner'
grep -Po "\`\\K[^']+" <<< "$s"
awk -F"[\`']" '{print $2}' <<< "$s"