Dynamically identify regex pattern from the given list of String
- abc12345
- abc22434
- abcewewew
- abc232323
If you see the above List of Strings 1,2&3 are following some regex pattern, is there any way to identify such patterns from the given list of String And treat them as single sting instead of multiple
Expected:
- abc-with some pattern - count 3
- abcewewew