0

Ex: s = "open the house,open the house"; write a regular expression to return "open the house,openthehouse".

PS: I am working on Notepad++

  • What is a space? What is a blank? – Toto Aug 17 '18 at 16:51
  • 1
    Have you tried something? What doesn't work? – Toto Aug 17 '18 at 16:52
  • 1
    Sounds like homework, show your efforts at least. – Paolo Aug 17 '18 at 16:53
  • @Toto I'm not a fan of closing this question as a dupe of that... That really doesn't help anybody figure out the solution. Can we just close no-effort questions as too broad, please? – Aran-Fey Aug 17 '18 at 17:02
  • @Aran-Fey: They could find all they what in the dup. For example, the solution for this question is : Replace `(?:^[^,]+,\S+\K|\G)\s(\S*)` with `$1` – Toto Aug 17 '18 at 17:22

0 Answers0