Browse by Tags
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 ...
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 ...
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
and I use regex
this results in
19113604 which is what I want. ...
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.
Any Text Here 1007
Any Other Text Here 2008
<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 ...
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 ...