I need a regex that could select from the following text:
string test hello world!
bitmap player player.png
terrain(test)
bg(sky)
label(asdasd,sd, sd,ad,adsad, ds){sdds}
00:30 test(asda,asdad,adsd)asdad{asd}
02:30 test(asda,asdad,adsd)asdad
00:40 test(asda,asdad,adsd)asdad
returns the following groups:
{
"string test hello world!",
"bitmap player player.png",
"terrain(test)",
"bg(sky)",
"label(asdasd,sd, sd,ad,adsad, ds){sdds}"
}
i’d like to use ..:.. for avoiding the time.
thanks a lot.
i tried
(?<!\b..:..\s).*
but didnt work.
use this (with multiline flag):