I am newbie to regex here's my question:
Below is the content of the file:
cts-pdr/comment-primary/:not spamming
cts-pdr/comment-primary/:please remove since not spamming
cts-pdr/comment-primary/:not spamming
cts-pdr/comment-primary/:not spamming
cts-pdr/comment-primary/:Not spamming
cts-pdr/comment-primary/:not spamming
cts-pdr/comment-primary/:please unblock since not spaming
What I am trying to achieve here is to match the second part of the colon. I'd like to capture the whole string i.e.:
(please\s.*)? [N|n]ot .*
I am not able to get the right match. Can anyone help?