What is regex replace in c#?



What is regex replace in c#?..

Answer / Shiv Ram Krishanan

Regex.Replace() is a method in C# that allows you to search for and replace a pattern (defined using regular expressions) within a string.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Why dependency injection is used in c#?

1 Answers  


f i give input like 1,1,4,5,6,1,2,5,4,1,2, then output should be like : 1-4, 2-2, 4-2, 5-1, 6-1 which means 1 occurs 4 times, 2 occurs 2 times like so.

7 Answers  


What does immutable mean in c#?

1 Answers  


What are the advantages of properties in c#?

1 Answers  


What does string intern do?

1 Answers  


What is object type in c#?

1 Answers  


Why do we use Design Pattern?

1 Answers   Impetus,


What is inner class in c#?

1 Answers  


What is meant by collections in c#?

1 Answers  


Explain static class members.

1 Answers  


What are fields in c#?

1 Answers  


What do you know about device context?

1 Answers   C DAC,


Categories