Automatically changing the color of a phone number.
-
- 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.
- 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
-
- Look under Settings (menu) -> Style Configurator…
- 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.
-
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.