Hi, Below is the string and i want to extract some value from string.
PROJECT NUMBER: N. 739387
c.i3 EXCHANGE: 2246
c.i4 - PHOENIX WIRE CENTER: TLSNAZMA
PERMIT AGENT WBS PERMIT MUNICIPALITY #1 WBS
ENGINEER: Shaeljn Lauderdale PERMIT MUNICIP. #2 WBS PERMIT MUNICIP. #3 was
TELEPHONE NUMBER: 602-696-71 1 1
TYPE OF WORK: Bore 583 and place 3 new HH’s alanq W raosevelt st and N 'IDIST AVE.
NAME OF PROJECT: N.739387 - CDFS - 1 GBPS - 10205 W ROOSEVELT ST
LOCATION: 10205 W ROOSEVELT ST
From above string i need to extract
Project Number
PHOENIX WIRE CENTER:
EXCHANGE: 2246:
ENGINEER:
TYPE OF WORK:
NAME OF PROJECT:
LOCATION:
@supermanPunch one more question
Please find attached regex screenshot. I had given in this way. Now pls help how to get the value in variable using this. I need to write the value in excel which has column name
@Puneet_Singh3 No. I don’t think that will Work. Instead you can use separate Regex Expression to get each value in this way :
System.Text.RegularExpressions.Regex.Match(strInput,“(?<=ENGINEER:).*?(?=PERMIT MUNICIP)”).Value.ToString.Trim