Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » file
  • Difficult Regex pattern [For Newbie]

    I was hoping someone with far more experience with regular expressions, particularly in .NET, could help me come up with a pattern. I have a program that will be reading in sql files and creating a deployment manifest based on the files. I need to match the file names to first, validate that they match a predetermined pattern. Then, extract ...
    Posted to Construction Advice (Forum) by DotNetShaman on November 8, 2010
  • Almost there, help please!

    I'm trying to match the file extension of an html link, and matching the one PREVIOUS to the last one when there are two of them, to get the original file extension, not the extension added by the archive. So for "file.ai.zip" $2 should match "ai". Here's the one I came up with, but $2 and $3 ALWAYS match ...
    Posted to Construction Advice (Forum) by sergiozambrano on June 19, 2010
  • noobe question on text extraction

    hi there I am wanting to extract sku code from image url that has two patterns. In the first case the image url ending pattern is as follows /images/uploads/19113604-5.jpg /images/uploads/19113604-4.jpg /images/uploads/19113604-3.jpg  and I use regex (?<=\buploads/)(\w+) $1 this results in 19113604 which is what I want. ...
    Posted to Construction Advice (Forum) by uzi on March 14, 2010
  • More on Filenames

    I am using VB.Net and I need to capture the file name without the extension and I need to exclude any underscores that are found. Input Examples: Any_Text_Here_1007.pdf Any_Other_Text_Here_2008.jpeg Results: Any Text Here 1007 Any Other Text Here 2008
    Posted to Construction Advice (Forum) by Ziggy069 on November 3, 2008
  • parsin html by using regex in c#

    <meta name="keywords" content="IBM 7976KAG SYSTEM X3400 QC 1.60GHZ 2GB 3X73,sunucular, server, markalı sunucular, markalı server, hp sunucular, hp, ibm, ibm sunucular, ibm server, century server, century sunucular"> <meta name="description" content="Fiyat:1879$+KDV | Kdv Dahil:2.877,95YTL | Havale ile %3 ...
    Posted to Construction Advice (Forum) by caglar26 on April 27, 2008
  • yet another file path regular expression

    Hi, I'm using C# 2.0 on Visual Studio 2005. I need a regular expression to parse a string with multiple filenames, filepaths, directories and whatnot and separate them. Filepaths often have spaces, so quotes are used to delimit them. There are some invalid characters in a file path, but for this particular application, there's no need to ...
    Posted to Construction Advice (Forum) by ruijoel on November 15, 2007