-2

Data

"06/12/20 ,NOVUS HOME MORTGAGE
04/22/20 ,CAP ONE NA
04/22/20 ,CAPITAL ONE
04/22/20 ,CAPITALONE
04/16/20 ,CREDCO
04/16/20 ,CREDCO
04/16/20 ,FLAGSTAR BANK OA R"

Regex : "[A-Z\s]+"

The result I wanted is NOVUS HOME MORTGAGE, CAP ONE NA etc all the data . but it includes space , how not to include space ? it did include the space before , I dont wanna include space

Conor
  • 736
  • 1
  • 13
  • 33
Mr Dave
  • 35
  • 1
  • 6

1 Answers1

0

The \s will match any white space character. So removing might solve what you are asking for. (I don't fully understand your question and what you want, so just providing a suggestion)

Nano Adam
  • 285
  • 1
  • 5