Below is the text I am trying to match
3 INFO ~ [com.Engine:164] italics
with
(?<=~\s\[)([a-zA-Z0-9\.]+)(?=:)(?<=:)(.*)(?=\])
I need to fetch 2 expressions out of it -
com.Engine
164
and I do not need any more matches, not even the :
.
(?<=~\s\[)([a-zA-Z0-9\.]+)(?=:)
is returning me com.Engine
however the total regex doesn't give me any result.
Please help.