Is there a way to 'extract' just the black and white info in material editor?

Just to clarify, which are you trying to get?

  1. a grayscale value for your color input, e.g. colors become gray? or…
  2. a masked version of your input, where only values are passed through if the masking color is exactly black or exactly white at the corresponding texture coordinate?