I'm trying to modify an existing lua script that cleans up subtitle data in Aegisub.

I want to add the ability to delete lines that contain the symbol "♪"

Here is the code I want to modify:

```
-- delete commented or empty lines
function noemptycom(subs,sel)
    progress("Deleting commented/empty lines")
    noecom_sel={}
    for s=#sel,1,-1 do
        line=subs[sel[s]]
        if line.comment or line.text=="" then
        for z,i in ipairs(noecom_sel) do noecom_sel[z]=i-1 end
        subs.delete(sel[s])
        else
        table.insert(noecom_sel,sel[s])
        end
    end
    return noecom_sel
end

```

I really have no idea what I'm doing here, but I know a little SQL and LUA apparently uses the IN keyword as well, so I tried modifying the IF line to this

```
        if line.text in (♪) then

```

Needless to say, it didn't work. Is there a simple way to do this in LUA? I've seen some threads about the string.match() & string.find() functions, but I wouldn't know where to start trying to put that code together. What's the easiest way for someone with zero knowledge of Lua?