No no no, put all those numbers/strings in an array or whatever, then loop through the list! (you dont actually need subevents for this) For example - from memory, so dont try pasting:
+ On function "MyExpression"
+ For each element in Array
+ Find(Detector.Value('Overlapping'), Array.CurrentXValue) equal to 0
Do stuff...
or something along those lines. Basically store all those strings in an object somewhere, and iterate them, instead of laboriously listing the conditions one by one...
But as I type this I think what kind of ugly obfuscated system requires string searches with weird numbers like that??? You're crazy!!