0

this one is abit complex.. i need to edit a file that contains lines that have 5 ":" to differentiate.. what i want is to Regex remove anything before 4 ":" and keep what ever is left on that line.. example:

DATA:1000:031:6566:3180:sdhfdsd

DATA:cuoleL

DATA:000:45:133:37081:fsdfsd

DATA:jhh0:70165:50:687:csdhg

DATA:236:93438:34:1ds:dsdbhz

now for this example in line 1 i want to get only "3180:sdhfdsd" and delete whatever is before it i.e "DATA:1000:031:6566:"

and as you can see line 2 doesnt have 5 ":" so the search skips line 2..

please reply... thanks again community!

Texh
  • 1,763
  • 2
  • 11
  • 8

0 Answers0