Visual studio find and replace - Add carriage return, OR Newline

In the case of following string to be parsed.

ford mustang,10,blue~~?bugatti veyron,13,black

I want to replace the ~~? with a carriage return

Replacing with \n just adds the string "\n"

I'm sure this can be done?

Thanks

Answers


Make sure "Use: Regular expressions" is selected in the Find and Replace dialog:

Note that for Visual Studio 2010, this doesn't work in the Visual Studio Productivity Power Tools' "Quick Find" extension (as of the July 2011 update); instead, you'll need to use the full Find and Replace dialog (use Ctrl+Shift+H, or Edit --> Find and Replace --> Replace in Files), and change the scope to "Current Document".


Need Your Help

POST data will always be transmitted to the server using UTF-8 charset

javascript jquery forms post

POST data will always be transmitted to the server using UTF-8 charset. -jQuery.ajax docs Does this happen only when you use POST with jQuery (jQuery.post) or using <form method=post>?

Javascript innerhtml of checkbox

javascript checkbox innerhtml getelementbyid

Well I have some checkboxes with id='0','1','2','3' etc. So I need to get text of checkboxes. Here is code of checkboxes in PHP.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.