I created a SQL Server Project in VS2008 called 'RegularExpression'.In that Project i created a 'Regex.cs' class and i wrote one function regarding Regular Expression.
Then i Build the solution.
Now My problem is to deploy this solution in SQL server 2008 through scripts.( not just clicking on Deploy in VS2008 ).
I succeeded up to deploy the assmebly of that project in SQL 2008 using CREATE ASSEMBLY <AName> FROM '<path of .dll>'
but iam not getting that function i wrote in VS2008 in SQL 2008 Function section.
http://www.setfocus.com/technicalarticles/clrfunctionforsqlserver_2.aspx
The above links helped a lot