Ad
  • Custom User Avatar

    It all depends on what the requirements are.
    For small input sizes Linq and regular expression based solution is likely great.
    For large input size and/or performance sensitive pieces of code, custom parsing might be required.