I’m actually unsure what’s the actual question is. If you want to look for different strings you could use another search pattern. You may elaborate a little more detailed what you’re looking for. Can you share some examples?
Regardless of that: … when you post code, error messages, sample data or console output format it as code, please.
Here you can read how that works: Guide to Posting Code.