subset(df, :mycol => ByRow(x -> occursin(r"mytext", x) ))
should work, or using DataFramesMeta.jl:
@rsubset(df, occursin(r"mytext", :mycol))
subset(df, :mycol => ByRow(x -> occursin(r"mytext", x) ))
should work, or using DataFramesMeta.jl:
@rsubset(df, occursin(r"mytext", :mycol))