JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<a href="http://site.ru/en/post">Test link</a>
JavaScript
$(function() {
$('a').each(function() {
$(this).attr('href',
$(this).attr('href').replace('/en', '')
)
})
});