I am trying to only select links with "example.com/foo/12345/bar" pattern where they can be any number of digits. But jquery doesn't seem to accept \d for digits. Any other suggestions?
$('a[href*="example.com\/foo\/\d+\/bar"]').hover(function(){});