• About
  • Privacy Policy
  • Utilities
Darchuk.NET

File Parsing

Grabbing a version number from a NuGet package’s file name

May 23, 2015 by Robert Leave a Comment

If you ever want to pull a version number out of a file’s name (like a NuGet package, for example), it is pretty easy with regex.  Of course, I suck at regex.  I always need to look up the syntax and even then I probably won’t get it right.  So, anyway, here is the code … [Read more…]

Posted in: C# Tagged: C#, File Parsing, NuGet

Recent Posts

  • Allowing trailing JSON commas in ASP.NET Core 3
  • YADNC3JSG–Yet Another .NET Core 3.0 JSON Serializer Gotcha
  • Logging in a .NET Core 3 SignalR client
  • .NET Core 3 unit testing project sdk
  • .NET Core 3.0 Upgrade–New JSON Serializer Gotchas

Recent Comments

  1. Robert on C# Setting Socket Keep-Alive
  2. Oliver Schramm on C# Setting Socket Keep-Alive
  3. John Anderson on Waiting for a keypress asynchronously in a C# console app
  4. Ronald Garlit on .NET Core 3 unit testing project sdk
  5. Ronald Garlit on .NET Core 3 unit testing project sdk

Copyright © 2025 Darchuk.NET.

Omega WordPress Theme by ThemeHall