# Regex convert text with comma to a list of words for repeating group

**URL:** <https://forum.bubble.io/t/regex-convert-text-with-comma-to-a-list-of-words-for-repeating-group/51499>\
**Category:** Need help\
**Created:** [March 8, 2019, 5:27pm UTC](https://forum.bubble.io/t/regex-convert-text-with-comma-to-a-list-of-words-for-repeating-group/51499 "2019-03-08T17:27:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mebeingken](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mebeingken/32/20139_2.png) [@mebeingken](https://forum.bubble.io/u/mebeingken)\
**Post date:** [March 9, 2019, 1:26pm UTC](https://forum.bubble.io/t/regex-convert-text-with-comma-to-a-list-of-words-for-repeating-group/51499/2 "2019-03-09T13:26:48Z")

</div>

Hey @petit-ricard,

Here is a regex string that will work:  
`[^,]+`

Also, because you are retrieving a list of channel\_name’s rather than just one, you also need to insert a comma between all those before you run the regex. You use :join with “,” (just type a comma, the double quotes will be added for you.)

Here’s what it looks like:

 ![25%20AM](https://us1.discourse-cdn.com/bubble/original/3X/c/1/c109e670d9f7d39279a64e44637de5c51efc8992.png)

Which turns this:

 ![09%20AM](https://us1.discourse-cdn.com/bubble/original/3X/e/5/e568b72bd99340f48ad98a56d12fbc0ce49442d9.png)

Into this:

 ![48%20AM](https://us1.discourse-cdn.com/bubble/original/3X/d/9/d933243e7c23874dd65a8710f4c62f1a969ca284.png)

Hope that helps!

–Ken

  

* * *

> **Looking to accelerate your app development?**
>
> Development of Advanced Apps at [https://uniqueideas.com](https://uniqueideas.com?utm_source=bubble&utm_medium=forum&utm_content=signature-unique-ideas&utm_campaign=builders) or schedule a [free intro session](https://uniqueideas.com/coaching?utm_source=bubble&utm_medium=forum&utm_content=signature-free-intro&utm_campaign=builders) 🎁
> 
> Ken Truesdale  
> [LinkedIn](https://www.linkedin.com/in/mebeingken/)

---

_[View the full topic](https://forum.bubble.io/t/regex-convert-text-with-comma-to-a-list-of-words-for-repeating-group/51499)._
