Site icon Hip-Hop Website Design and Development

How to use a RewriteRule to change endpoint url

I’m using woocommerce and wordpress. I would like to know how to use a RewriteRule to change my url from: /my-account/edit-address/billing to /account/edit-address/billing and load the endpoint page content for billing address.

edit-address is a template file and loads content based on the endpoint billing or shipping

Is this possible