fork(3) download
  1. Imports System
  2. Imports System.Text.RegularExpressions
  3.  
  4. Public Class Test
  5. Public Shared Sub Main()
  6. ' Input string.
  7. Dim input As String = ":1Af404080A83hfndsgt4u47"
  8. ' Use Regex.Replace with string arguments.
  9. Dim output As String = Regex.Replace(input, "(?<=^.{5}).{8}", "Hello123")
  10. ' Print.
  11. Console.WriteLine(input)
  12. Console.WriteLine(output)
  13. End Sub
  14. End Class
Success #stdin #stdout 0.08s 18848KB
stdin
Standard input is empty
stdout
:1Af404080A83hfndsgt4u47
:1Af4Hello123hfndsgt4u47