regex pattern clarification

Topics: Parsing
May 22, 2012 at 1:13 PM

I was reading the code when I reached upon the following piece of code from the Settings.Designer.cs file from the PlaystationNetworkAPI.Core.Properties namespace, for the inner text regex pattern, in th following code:


public string Common_Parser_InnerTextRegexPattern {
    get {
        return ((string)(this["Common_Parser_InnerTextRegexPattern"]));

I was wondering, is this "<.*{0}.*{1}=\"{2}\".*>\\s*\\w*\\s*-*_*\\s*\\w*\\s*" the pattern for inner text ?

If, so I want to know what it means exatcly if someone can explain to me please.


Jul 11, 2012 at 8:10 AM

Hi aizen92,

Sorry for the time i took to respond.

Well i don't know if it answers your question but we do not use regular expression any more.

Now we are using Html Agility Pack to parse the Html code.