I was just about to come on here and post that I figured it out, but what I was doing isn't as elegant as what you did. I did | makemv CompanyName
| rex field=CompanyName "(?<CamelCase>\b(\w...
See more...
I was just about to come on here and post that I figured it out, but what I was doing isn't as elegant as what you did. I did | makemv CompanyName
| rex field=CompanyName "(?<CamelCase>\b(\w))"
| eval CamelCase=mvjoin(CamelCase,"")
| nomv CompanyName
| eval DomainMatchesCompany=case(like(lower(CompanyName),"%".substr(lower(domain_root),1,3)."%"),"Yes",
like(lower(CamelCase),"%".substr(lower(domain_root),1,3)."%"),"Yes", 1=1,"No") I will try your Approach and see if I get something similar