JavaScript Regular Expression Find and Replace : <p>I need to check if a string contains the following string, "Password:". If so I want to replace the word immediately following the ':'. For example, I have a string that has "Password:Test". I would like "Test" removed and replaced with "Removed".</p>
