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.
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