regexsearch Question

I have a grid of data and need to search for specific activities associated with the record. I'm using regexSearch looking for terms like: football, baseball, basketball, golf, tennis, etc. The issue i'm seeing is that search terms "foot" and "football" find the relevant records. However, searching for "ball" returns nothing. Is there another unlisted flag or wildcard option that works with the function? The code below is what is currently active.

regexsearch(
ri!searchBox_text,
fv!item,
"ig"
)

  Discussion posts and replies are publicly visible

Parents Reply
  • Using an online tester, this is the results i would expect to see using regex. "Ball" by itself should return the exact same results as "Foot" does for "Football".

    If there is a list of 100 sports enthusiasts and 5 play football, I should return those 5 members searching for "Foot" or "Football". If 5 additional members play basketball and I search "ball", my result set would increase to 10 records, and so on. 

    Again, "Foot" a partial pattern returns the relevant records, "ball" does not.

Children