none
regular expression RRS feed

  • Question

  • i want to build a regular expression to get the data from the braces

    Ex:

    i want to retrieve the data the "systemInfo1" block, how can i do that?

    c1 : systemInfo1 :
          {
            RelatedInfo
            {
              plmn-IdentityList
              {
                {
                  plmn-Identity
                  {
                    mcc
                    {
                      3,
                      1,
                      0
                    },
                    mnc
                    {
                      1,
                      2,
                      0
                    }
                  },
                  cellOperatorUse notReserved
                }
              }
           }

           trackingAreaCode '00000000 00001001'B,
           cellIdentity '00001001 11010000 10100101 1011'B,
           cellBarred notBarred,
           intraFreqReselection allowed,
           csg-Indication FALSE

    sampleInfo1 :
          {
            RelatedInfo
            {
              plmn-IdentityList
              {
                {
                  mnc
                    {
                      1,
                      2,
                      0
                    }             
                  cellReserved notReserved
                }
              }
           }

    Tuesday, July 3, 2012 8:54 AM

All replies