Here i want to print line which contains following strings:
Object.< anonymous >
Here is the multiple lines: now find those lines who contains substring Object . < anonymous >
Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'yourusername'@'localhost' (using password: YES)
at Socket.< anonymous > (/home/abc/Desktop/AJ/CustomLogger/node_modules/mysql/lib/Connection.js:91:28)
at Object.< anonymous > (/home/abc/Desktop/AJ/CustomLogger/conn.js:10:5)
at Module._compile (internal/modules/cjs/loader.js:686:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
Output should be : at Object.< anonymous > (/home/abc/Desktop/AJ/CustomLogger/conn.js:10:5)