Community
    • Login

    Automatically changing the color of a phone number.

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 2.0k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors