I need help in writing regex for the below mentioned log:
URLReputation: Risk unknown, URL: http://facebook.com
I wrote a regex like below:
URLReputation\:\s*(.*?),\s*URL\:\s*(.*)
Here everything is working. But in case URL isn't there, the URLReputation also will not be captured.
Please help.
Regards,
Mitesh Agrawal