locked
Regular Expressions RRS feed

  • Question

  • Hi,

    I need to write a regular expressions in t-sql code.

    There will be somw Meter names in the folowing format.

    -- Mtr3.08_PDdate
    --Mtr3.08_DkW
    --MtrA2.01_kWhr

    here the 3rd meter name conatins 'A' it is optional some times it will be there and some times it will not be there . If it is there, then there will be only on 1 character.

    so i should write the RegEx here for matching this.

    Please help in fixing this.

    Thanks.

    Tuesday, October 4, 2011 1:15 PM

All replies