Regular Expression in C# [closed]
Using regular expression what would be the best way to find an unknown pattern in a string? Is this even possible using Regex, I would just like a bit of guidance.
I think you are confused about what regular expressions are for. They do not determine underlying repeating/mathematical/musical/etc. patterns in data; they find matches to a specific pattern.
So if I understand your question correctly, then, no, this is not possible using a RegEx.
You can download Expresso here:
http://www.ultrapico.com/
Play with the tool and learn more about regular expressions.
Yes it is possible.
If the patterns that you want to match are unknown, then you can always match you input string against a set of 'known patterns' and discard the unmatched strings.
精彩评论