Copy link to clipboard
Copied
Hello i'm having trouble with grep styles BOlding phone #'s I'm sure its because the. HOw would i write the grep that will allow (123) 123-4567 to bold when entered? I have grep styles working for all kinds of text but this i cannot get to work. I'm assuming its because the ().
In the GREP Style "To Text" field enter this code:
\+?\d{0,3}\s?\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}
Copy link to clipboard
Copied
In the GREP Style "To Text" field enter this code:
\+?\d{0,3}\s?\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}
Copy link to clipboard
Copied
Worked perfect! thank you very much!
Copy link to clipboard
Copied
ok secondary question. I just noticed this is working perfectly "Except" i have 2 phone #'s i done need bolded is there a way t o exclude a phone#? 2 of the phone #'s that are being bolded that shoulded are formatted like this 123 456-7890. I dont know if that matters.
Copy link to clipboard
Copied
ok secondary question. I just noticed this is working perfectly "Except" i have 2 phone #'s i done need bolded is there a way t o exclude a phone#? 2 of the phone #'s that are being bolded that shoulded are formatted like this 123 456-7890. I dont know if that matters.
By @cbishop01
Can you rephrase your question?
You want BOTH, FIRST or SECOND only?
Copy link to clipboard
Copied
Never mind i figured it out. instead of using the grep code i just did \(123\) 123-4567 and it worked. thanks again