# Flag inappropriate words

**URL:** <https://community.glideapps.com/t/flag-inappropriate-words/60426>\
**Category:** Ask for Help\
**Created:** [April 11, 2023, 9:19pm UTC](https://community.glideapps.com/t/flag-inappropriate-words/60426 "2023-04-11T21:19:36Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Joe\_Gabriele](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joe_gabriele/32/57595_2.png) [@Joe\_Gabriele](https://community.glideapps.com/u/Joe_Gabriele)\
**Post date:** [April 12, 2023, 1:25am UTC](https://community.glideapps.com/t/flag-inappropriate-words/60426/7 "2023-04-12T01:25:48Z")

</div>

> [@ThinhDinh](#):
>
> ```auto
> const regex = /[a-zA-Z]+/g;
> const matches = p1.match(regex);
> return matches ? matches.join('') : '';
> 
> ```

I used p1 to point to my text column. However, it removes all spaces from the sentance as well as the non-alpha chars. Thus if I split that using a space, it just does individual letters

---

_[View the full topic](https://community.glideapps.com/t/flag-inappropriate-words/60426)._
