greetings.   Newbe trying to extract ip addresses from a log file.

Ip addresses are all different.  They are at the end of each line with a c= 
preface.  like c=38.133.119.165

the actual lines look like this:

[Tue Jul 26 19:09:37.658083 2022] [qos:error] [pid 1197:tid 47464083257088] 
mod_qos(034): access denied, QS_SrvMinDataRate rule (in:0): min=246, this 
connection=0, c=70.160.126.199
[Tue Jul 26 19:09:37.711177 2022] [qos:error] [pid 1330:tid 47464083257088] 
mod_qos(034): access denied, QS_SrvMinDataRate rule (in:0): min=246, this 
connection=0, c=38.133.119.165

how do I remove everything from the line except c=xx.xx.xx.xx ?

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/959c2444-b493-492f-b824-7f0278a2b468n%40googlegroups.com.

Reply via email to