I want to find numbers with a pattern from a list of several thousand, and I would like to match things like:
- Sequence 3 or more, any direction (345.2345.876)
- The repeating sequence (2233.3355.77777) 147.258.369 or the reverse thereof.
- Repeating pattern (373737,33773377)
In a JSON object, for example:
["ok", {"series/020" : ["02034353637", "02034445673", "02034147369", "02034653185"]}]
Thus, they will all be consistent; for example, the former has 34 35 36, the latter has both 444 and 567, the latter has both 147 and 369, etc.
What have i tried? Well, most of the sites in this small box dived to my right! Search on the stack. Some online books ... but I was starting to wonder if there is such a thing as a “regular expression of dyslexia” (regexia?) Or maybe just thickness when I found a 142 page book . I know when they beat me.
Looking back, it might be a lot faster and easier to just do an "array of arrays" manually, creating templates using Google Sheets autocomplete, but is that possible?
Finally, is there "pay me $ 10, and I will do your regular expression for you"? If not, they should be! They will make a mint! Thanks.
source
share