So ive been trying to match in regex(editpadpro) and i want to match POLYLINE,TYPE=0x6,RoadID ONLY, editpadpro flavor = Perl, Java, .NET any help is appreciated
[POLYLINE] Type=0x6 Label=Lorong Karyawan 18 EndLevel=1 CountryName=MALAYSIA~[0x1d]MYS RegionName=PAHANG~[0x1d]PHG CityName=KUANTAN Zip=25150 RoadID=1154 RouteParam=2,1,0,0,0,0,0,0,0,0,0,0 Data0=(3.77022,103.27289),(3.76988,103.27201) Nod1=0,283024,0 Nod2=1,282992,0 Numbers1=0,O,55,41,N,-1,-1 [END] so far ive used this \[POLYLINE]\W+(?:\w+\W+0x6) that match both polyline and Type=0x6
/mis the flag for multi-lineRoadID=(\d+)/gm- Does that work for you? regex101.com/r/hMV28O/1