Removing a filter for replacement

Hi support,

I'm trying to remove a filter in BuddyPress so I can set a new function to work with that filter. The one I'm trying to change is:

function groups_get_group - >, set as a return value:
return apply_filters( 'groups_get_group', new BP_Groups_Group( $group_id, true, $load_users ) )

Using a function that runs in bp-custom.php before this filter loads, how can I remove this filter? Thanks!