Community
    • Login

    Automatically changing the color of a phone number.

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Robert SnowR
      Robert Snow
      last edited by

      1. I’m having two issues with the color of text. I did not see anywhere under Edit where I could change a color of text.
      2. Also is there a way to change the color of text that equals text that is laid out as a phone number automatically or by clicking on. Thank you for your consideration.
        This is my general format for a phone number’
        ???-???-???
        Bobg
      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS
        Scott Sumner @Robert Snow
        last edited by

        @Robert-Snow

        1. Look under Settings (menu) -> Style Configurator…
        2. You could invoke the Search (menu) -> Mark… feature, then mark text that matches the following regular expression: \d{3}-\d{3}-\d{3}. This will color red all matches.
        1 Reply Last reply Reply Quote 1
        • David BaileyD
          David Bailey
          last edited by

          Remember that NP++ is a raw text editor, so the information it will put back into a file will not retain any colour information.

          This is different from DOC files (for example) which store colours and font sizes etc.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors