want to parse the regular expressions and send the result string to database to query the result. Means if i get the
value "^abc" should return the value "%abc"
"^abc$" should return "abc"
"\^s" should return "%^s"
^XYZ\.com$ should return "%XYZ.com"
i have some more expressions like this supported by most of regular expression process engines.
Is there any predined function to do this in c# or sql server?
Please advice me.
Thanks
Parsing regular expression strings
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Christian Wirth8 reputationPosted Jun 25, 2009, 9:38 PM EDT
This is no Problem in C#
Have a look at the System.Text.RegularExpressions Namespace! (msdn)