# Using regex to show alternative color and icon

**URL:** <https://community.folivora.ai/t/using-regex-to-show-alternative-color-and-icon/42113>\
**Category:** Configuration Help & General Discussion\
**Created:** [February 4, 2025, 8:10pm UTC](https://community.folivora.ai/t/using-regex-to-show-alternative-color-and-icon/42113 "2025-02-04T20:10:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhncbrwn](https://community.folivora.ai/letter_avatar_proxy/v4/letter/j/58f4c7/32.png) [@jhncbrwn](https://community.folivora.ai/u/jhncbrwn)\
**Post date:** [February 4, 2025, 8:10pm UTC](https://community.folivora.ai/t/using-regex-to-show-alternative-color-and-icon/42113/1 "2025-02-04T20:10:11Z")

</div>

I would like to use an alternative color on a menubar item if the underlying apple script contains a "-"

Can somebody please suggest what I need to fill in, in the "Alternate Color Regex:" field?

Alternatively can this be set directly in the AppleScript for a "Menubar item"?

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 4, 2025, 8:18pm UTC](https://community.folivora.ai/t/using-regex-to-show-alternative-color-and-icon/42113/2 "2025-02-04T20:18:13Z")

</div>

best just enter the "-", it also supports basic search

 ![image](https://community.folivora.ai/uploads/default/original/3X/2/d/2d49dad29993c08889eee4c64e215335a29c6f26.jpeg)

---

<div class="post-metadata">

**Author:** ![jhncbrwn](https://community.folivora.ai/letter_avatar_proxy/v4/letter/j/58f4c7/32.png) [@jhncbrwn](https://community.folivora.ai/u/jhncbrwn)\
**Post date:** [February 4, 2025, 8:23pm UTC](https://community.folivora.ai/t/using-regex-to-show-alternative-color-and-icon/42113/3 "2025-02-04T20:23:42Z")

</div>

Thanks
