Question: [![enter image description here](https://i.stack.imgur.com/W3Zgd.png)](https://i.stack.imgur.com/W3Zgd.png)

So only within my sidebar widgets does this bullet above the widgets occur. I am not sure what custom css code to use to get rid of this. That is why I uploaded the picture of the inspect element to see if anyone can help me identify where the problem is coming from. Thank you so much in advance.

Answer: 
You want to use [Enumerable#`any?`](https://ruby-doc.org/core-2.4.1/Enumerable.html#method-i-any-3F):

```
arr.any? { |substring| str.include?(substring) }

```

The solution is very efficient, because this method ensures *short-circuit evaluation*, meaning, that if you have array of 100000000 substrings and you want to check whether your string contains any of these substrings, this method will stop right when its block returns `true`, meaning, that if the matching substring is first in the array, it will never check other 99999999 elements.
Construct a Regular Expression (without pipes and slashes and dots and other magic stuff):

```
arr = ["aa", "bb", "cc"]
str = "mystringcc"
reg = Regexp.union(arr)  # That's all!
p str.match?(reg)        #=> true

```