Advertisement

05.15.2008 at 03:23PM PDT, ID: 23406906
[x]
Attachment Details

Partial replacement of regex search result C#

Asked by computerhelpsos in .Net Editors & IDEs, C# Programming Language

Tags: , , , ,

regex replacement of [0-9a-z]\s\r\n with (leave first character alone)\.\s\s\r\n.
It should find the first character or number but not replace it.
Input: I am a greenhorn (space new line carriage return)
Result:I am a greenhorn.  (dot space space newline carriage return)

Thank you very much!Start Free Trial
 
Loading Advertisement...
 
[+][-]05.15.2008 at 04:45PM PDT, ID: 21578844

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, C# Programming Language
Tags: Microsoft, Windows Forms, C#, VS 2008, c#
Sign Up Now!
Solution Provided By: DarkoLord
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628