I have this data:
Turning on API signature validation for service : PGL
Turning off API signature validation for service : PLATFORM
Turning off API signature validation for service : WEBWORKS
Turning on API signature validation for service : TIMER_SINK
Turning on API signature validation for service : MESSAGING
Turning on API signature validation for service : EMAIL
Turning off API signature validation for service : USER_SECURITY
Initializing MDM for :USER_SECURITY
<MDM/>
I want to catch a string after service :
I managed to do it by: service.:.\K\w+
BUT:
Earlier I tried to do it with diffrent way which is service:\s* ([^\n\r]*)
but it returns me my value with service.
I got this way from this article Regex to get the words after matching string and no bigger effects.
Could anyone explain me this pattern ([\n\r].*Object Name:\s*([^\n\r]*)
)