The word `husband`, N.T. Greek `aner`, is not used here- The word `andra` = man, male person, is the word used here.
The word aner, `husband` appears nowhere in this part of John 4.
See John 4:18--"...and he whom you now have is not your husband [aner]"
People who do not know Greek should not speak as if they do. Greek is an inflected language. Nouns and adjectives are declined to satisfy surface level case. [aner] is nominative, [andra] is accusative.