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
Loading
Christian WirthPosted Jun 26, 2009, 1:38 AM
This is no Problem in C#
Have a look at the System.Text.RegularExpressions Namespace! (msdn)