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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -