Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Convert sample string to regular expressions

$
0
0

Is there any way to get regex from a sample string 

Below is the scenario

input : a output :[a-z]

input :A output :[A-Z]

input : B output :[A-Z]

same should be happen for german alphabets and also other languages 

Thanks in advance 



Viewing all articles
Browse latest Browse all 8156

Trending Articles



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