A regular expression probably isn't the best way to do what you want... certainly not just one, at any rate.
You are probably better iterating through the string you are searching, grabbing substrings the length of the strings you are searching for, and looking them up in a hash table.
Or something similar.
In reply to Re: Regex: finding all possible substrings
by sauoq
in thread Regex: finding all possible substrings
by ssc11008
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |