c# - Filtering out bad characters using a Regular Expression -


I want to filter char ^ before searching something in the database. What does my regular expression look like if I want to achieve that query will ignore this signal: ^? I am working with VS2008 .NET 3.5 and C #.

You do not need a regex for this, you can just do this:

  myString = MyString.Replace ("^", "");  

Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -