Sure, take your time, and let me know how it goes! Here’s an example to help you insert your code into the functions.php file.
<?php
// code
// code
// code
// and
// lots of codes
// your new code
add_filter( 'gform_required_legend', function( $legend, $form ) {
return '* indicates required fields';
}, 10, 2 );
// ---- OR ----
add_filter( 'gform_required_legend', '__return_empty_string' );
// make sure to put it before the end of the line
?>