# How do I filter words from the 'Clipboard' content?

**URL:** <https://community.blaze.today/t/how-do-i-filter-words-from-the-clipboard-content/69146>\
**Category:** Questions and Help\
**Created:** [November 3, 2026, 7:41pm UTC](https://community.blaze.today/t/how-do-i-filter-words-from-the-clipboard-content/69146 "2026-11-03T19:41:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerald\_John\_Amora1](https://community.blaze.today/user_avatar/community.blaze.today/gerald_john_amora1/32/15265_2.png) [@Gerald\_John\_Amora1](https://community.blaze.today/u/Gerald_John_Amora1)\
**Post date:** [November 3, 2026, 7:41pm UTC](https://community.blaze.today/t/how-do-i-filter-words-from-the-clipboard-content/69146/1 "2026-11-03T19:41:37Z")

</div>

I wonder if there's a way that I could filter specific words in a clipboard? (I copied a paragraph that starts with 'Hi ,' and ends with 'Thank you'.)

Im trying to filter out

1. Hi
2. Hi ,
3. Thank you,
4. Thanks

Here's what I came up with while reading through the tutorials and community boards. Unfortunately its not working

 ![image](https://community.blaze.today/uploads/default/original/3X/1/4/14dee845d934fa418ca32fcf09652bf9013f1459.png)

---

<div class="post-metadata">

**Author:** ![Dan\_Barak1](https://community.blaze.today/user_avatar/community.blaze.today/dan_barak1/32/2322_2.png) [@Dan\_Barak1](https://community.blaze.today/u/Dan_Barak1)\
**Post date:** [November 3, 2026, 8:09pm UTC](https://community.blaze.today/t/how-do-i-filter-words-from-the-clipboard-content/69146/2 "2026-11-03T20:09:27Z")

</div>

Hi @Gerald_John_Amora1,  
Use `{clipboard}` instead of simply `clipboard`. The following snippet would work. I used our newly released [skill](https://community.blaze.today/t/november-development-update/68696/1) to generate it.

How it works:

- The inner replaceregex removes “Hi” or “Hi ,” (any spacing, with or without the comma) from the start of the clipboard.
- The outer replaceregex removes “Thank you,” or “Thanks” (with an optional ,, . or !) from the end.
- The "i" flag ignores case, so “hi”, “HI” and “thanks” are removed too.
- \b makes it match “Hi” only as a whole word, so a paragraph that starts with “Hilary…” stays as it is.

{=replaceregex(replaceregex({clipboard}, "^\s\*hi\b\s\*,?\s\*", "", "i"), "\s\*(thank you|thanks)\s\*[,.!]?\s\*$", "", "i")}

> [@Gerald\_John\_Amora1](#):
>
> I wonder if there's a way that I could filter specific words in a clipboard? (I copied a paragraph that starts with 'Hi ,' and ends with 'Thank you'.)
> 
> Im trying to filter out
> 
> 1. Hi
> 2. Hi ,
> 3. Thank you,
> 4. Thanks
> 
> Here's what I came up with while reading through the tutorials and community boards. Unfortunately its not working
