Read More link scrolling page

There is an explanation in the WordPress Codex which I copy here for reference.

Don’t forget <?php and ?>

<?php
function remove_more_link_scroll( $link ) {
    $link = preg_replace( '|#more-[0-9]+|', '', $link );
    return $link;
}
add_filter( 'the_content_more_link', 'remove_more_link_scroll' );
?>

Prevent Page Scroll When Clicking the More Link