Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 17945

Dynamically identify regex pattern from given List of Strings

$
0
0

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

Viewing all articles
Browse latest Browse all 17945

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>