The removed "legacy" appearance promoted input placeholders to the floating label if the label was not specified. All newer appearance settings require explicitly specifying a if one was not provided before. This change addresses an accessibility best practice of not using labels and placeholders interchangeably.
Migrating to MDC-based Angular Material Components | Form Fields
This regular expression works with IntelliJ IDE and maybe with others, supporting regex search and replace.