This extension gets parts of the href with regex and copys them to clipboard
Plugin for firefox and chrome to copy parts of links to the clipboard.
Use regular expressions to get parts of the href copied to clipboard. For further description see the settings page of the plugin.