Penikton Bernard

Penikton Bernard

  • NA
  • 43
  • 21.4k

String Manipulation

Mar 10 2014 7:31 AM
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.



Answers (1)