Dear Team,
I want c# function to convert regex patterns into wildcard patterns using string parsing method, as well as vice versa. Please help me to proceed further my project.
Dear Friends
please find the sample input:
Regex Patterns to validate e-mail id :
"([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})"
The output would be in wildcard patterns to validate e-mail address. So i need c# function to change or convert regular expression patterns into wildcard patterns. as well as vice versa.
String Manipulation
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Shweta LodhaRank #31 · 39.8K reputationPosted Mar 10, 2014, 6:12 AM EDT
Can you please give an example, on what you want to achieve ? So, that we can help you better.