For the most part, I have not coded in years. Moreover, I was self-taught, and as such usually improvise where other code might be simpler. I am currently stuck on some code which I feel sure could be done better than how I'd have previously improvised. What I want is to check a line of text for containing another lines. But the line it is checking can have specific parts always different, so I need wildcards in this check. Here is an example using Regular Expression wildcards:
if(strStr(%line, "TheText(.*)doesn't like(.*)doodle.")
Is there anyway I could do something similar to the above? A command I forgot or wasn't aware? I think I would have improvised this by doing a bunch of strStr checks using &&, but that seems very stupid to me considering how straight forward the check is.
Edit: I think this was how I used to put things like this:
if(strStr(%line, "TheText") && strStr(%line, "doesn't like") && strStr(%line, "doodle."))