Terminé

Simple Regex Flat File Parse (repost)

What: We need "stuff" pulled from a string variable that was put in using switches of the "-x" format. Where "x" could be any letter.

Pretend the file is a text file. But, you only need to worry about the First row in that text file. The text file is row-delimited, but we're already pulling out the Row. We just need you to....Pull out "stuff" from this row because our source has the "stuff" in an old format so we need to parse it....

See the final example below for an actual "example" you can play with...

Dim TheWholeThing as string 'This is that "first row" of the text file. Make it say stuff from below. This is your source to work with

Dim TheStuff as string

Dim S_switch as string

Dim X_switch as string

Dim P_switch as string

Dim Z_switch as string

Instance (Not Case Sensitive...can be Any case, and it should always be one Line read from the text file. You don't have to worry about the text file, just use a fake variable like "Dim TheWholeThing as string" to simulate one row in the text file.):

IF: <stuff>

RESULT:

TheStuff=<stuff>

IF: <stuff> -s <stuff2>

RESULT:

TheStuff=<stuff>

S_switch=<stuff2>

X_switch=nothing

P_switch=nothing

Z_switch=nothing

IF: <stuff> -s <stuff2> -p <stuff3>

RESULT:

TheStuff=<stuff>

S_switch=<stuff2>

X_switch=<stuff3>

P_switch=nothing

Z_switch=nothing

IF: <stuff> -s <stuff2> -z <stuff3> -x <stuff4>

EXAMPLE: We have three cases of campbells232 -s campbells is the label -z Tuesday is the day -x March of Maine

RESULT:

TheStuff=<stuff>

S_switch=<stuff2>

X_switch=<stuff4>

P_switch=nothing

Z_switch=<stuff3>

So the reason I didn't do this myself is...It is VERY important to make sure you can find Any combination of the switches. Meaning, Sometimes None. Sometimes an "s", sometimes an "s and an x", sometimes just an "x", etc.

Also,

## Deliverables

This must be done in VB.NET

We will pick someone to do this over the next few hours if we get a qualified bidder.

Compétences : Ingénierie, MySQL, PHP, Gestion de Projet, Architecture Logicielle, Tests de Logiciels

en voir plus : vb net project management, using regex in c, use case simple example, re label, regex is, regex in c, regex example, regex c, pick-n pull, regex &, what is a php file, get the label, Regex, php regex, parse, parse and, parse a string, need to put a label, flat line, c++ regex

Concernant l'employeur :
( 13 commentaires ) New York, United States

Nº du projet : #2798420

Décerné à:

karthickjckvw

See private message.

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(3 Commentaires)
0.0