Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: RegEx expression help Pin
PIEBALDconsult9-Apr-10 7:20
mvePIEBALDconsult9-Apr-10 7:20 
GeneralRe: RegEx expression help Pin
Fayu9-Apr-10 7:45
Fayu9-Apr-10 7:45 
GeneralRe: RegEx expression help Pin
PIEBALDconsult9-Apr-10 7:58
mvePIEBALDconsult9-Apr-10 7:58 
GeneralRe: RegEx expression help Pin
Fayu9-Apr-10 8:14
Fayu9-Apr-10 8:14 
GeneralRe: RegEx expression help Pin
PIEBALDconsult9-Apr-10 8:27
mvePIEBALDconsult9-Apr-10 8:27 
AnswerRe: RegEx expression help Pin
NavnathKale9-Apr-10 8:34
NavnathKale9-Apr-10 8:34 
GeneralRe: RegEx expression help Pin
PIEBALDconsult9-Apr-10 8:41
mvePIEBALDconsult9-Apr-10 8:41 
GeneralRe: RegEx expression help Pin
Fayu9-Apr-10 9:11
Fayu9-Apr-10 9:11 
The property name is looks like this [[[MyProperty2]]] but does not end with <MyProperty2>. So the property/value item shows up as [[[MyProperty2]]] Value2. So if there are multiple properties it will look like this: [[[MyProperty1]]] Value1 [[[MyProperty2]]] Value2 [[[MyProperty3]]] Value3.

Having said that, the pattern provided did not work because I think it is looking for <MyProperty2> end tag. One other thing I want to point out is that there can be only one property which can or cannot have a space after it.

My requirements:
1) Get the value of a property if only one propery is listed ([[[MyProperty1]]] value1)
2) Get the value of a property if there are more than one properies listed ([[[MyProperty1]]] value1 [[[MyProperty2]]] value2 [[[MyProperty3]]] value3
3) In the pattern, I want to pass in the property name and get back the value
4) Use VBScript.RegexExp object (which I dont think will make a difference when it comes to pattern)

Thanks so much for assisting me with this.
GeneralRe: RegEx expression help Pin
NavnathKale9-Apr-10 9:29
NavnathKale9-Apr-10 9:29 
GeneralRe: RegEx expression help Pin
Fayu9-Apr-10 9:41
Fayu9-Apr-10 9:41 
GeneralRe: RegEx expression help Pin
NavnathKale9-Apr-10 9:49
NavnathKale9-Apr-10 9:49 
GeneralRe: RegEx expression help Pin
Fayu9-Apr-10 10:07
Fayu9-Apr-10 10:07 
GeneralRe: RegEx expression help Pin
NavnathKale9-Apr-10 10:14
NavnathKale9-Apr-10 10:14 
GeneralRe: RegEx expression help Pin
Fayu9-Apr-10 10:21
Fayu9-Apr-10 10:21 
GeneralRe: RegEx expression help Pin
NavnathKale9-Apr-10 10:30
NavnathKale9-Apr-10 10:30 
GeneralRe: RegEx expression help Pin
Fayu9-Apr-10 10:22
Fayu9-Apr-10 10:22 
GeneralRe: RegEx expression help Pin
NavnathKale9-Apr-10 10:34
NavnathKale9-Apr-10 10:34 
GeneralRe: RegEx expression help Pin
PIEBALDconsult9-Apr-10 10:16
mvePIEBALDconsult9-Apr-10 10:16 
GeneralRe: RegEx expression help Pin
NavnathKale9-Apr-10 10:52
NavnathKale9-Apr-10 10:52 
GeneralRe: RegEx expression help Pin
PIEBALDconsult9-Apr-10 12:51
mvePIEBALDconsult9-Apr-10 12:51 
GeneralRe: RegEx expression help Pin
PIEBALDconsult9-Apr-10 13:01
mvePIEBALDconsult9-Apr-10 13:01 
GeneralRe: RegEx expression help Pin
Fayu9-Apr-10 13:24
Fayu9-Apr-10 13:24 
GeneralRe: RegEx expression help [modified] Pin
PIEBALDconsult9-Apr-10 17:38
mvePIEBALDconsult9-Apr-10 17:38 
GeneralRe: RegEx expression help Pin
NavnathKale9-Apr-10 22:18
NavnathKale9-Apr-10 22:18 
GeneralRe: RegEx expression help Pin
PIEBALDconsult10-Apr-10 5:32
mvePIEBALDconsult10-Apr-10 5:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.