title: How to remove word from the string in a generic way
body: <p>I have a string which is basically a url something like APIPAth/resources/customers/SSNNumber/authorizations/contracts.</p>
  
  <p>The SSNNumber can be of any value. Its the actual SSN number which I want to remove from the string and the string should look like APIPAth/resources/customers/authorizations/contracts.</p>
  
  <p>I can't find a proper solution in which without hardcoding the word and removing the string</p>
  
  <p>I tried using Find and Replace but I think the function would require the particular word</p>