Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

psi_u

@psi_u
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Regular expressions in C#
    P psi_u

    // Find formats: dd/mm/yy or dd/mm/yyy, seperators: -/. (i.e. 31.01.08 31-01-08 etc.)
    Regex rx = new Regex(@"([1-9]|0[1-9]|[12][0-9]|3[01])[- /.]([1-9]|0[1-9]|1[012])[- /.]((19|20)\d\d|\d\d)");

    // Define a test string.
    string text = fileName;

    // Find matches.
    MatchCollection matches = rx.Matches(text);

    // Report the number of matches found.
    if (matches.Count > 1)
    DoST();

    // Report on each match.
    foreach (Match match in matches)
    {
    textBoxDocumentDate.Text = match.Value;
    }

    C# regex csharp help tutorial

  • How to get file properties in Windows 7?
    P psi_u

    As we all know, the DSOFile.dll works well on all types of files. I wrote an app that works well on XP based systems (getting and writing file properties, summary and custom). However, this is not working on Windows 7. Looking at file properties on Windows 7 shows Tags property (instead of keyword? not sure). Any ideas?

    C# tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups