fork(22) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. string str = "begin:'this is an 'example' text'";
  9. str = Regex.Replace(str, "(?<=')(.*?)'(?=.*')", "$1");
  10. Console.WriteLine(str);
  11. }
  12. }
Success #stdin #stdout 0.07s 37248KB
stdin
Standard input is empty
stdout
begin:'this is an example text'