2018-11-26 05:27:57,330 [http-nio-228.0.0.1-80-exec-653] [INFO ] (o.a.e.UploadServiceImpl:360) - Deploy to 'raven-snapshots:com/mayhem/xmen/edm-aggregator/1.0.0-SNAPSHOT/edm-aggregator-1.0.0-SNAPSHOT.rom' Content-Length: 710
I would like to be able to extract the strings present between "/" AND "' Content-" .
In the above example the extracted string should be edm-aggregator-1.0.0-SNAPSHOT.rom
Thank you.
try this:-
|rex ".*\/(?<String>[^\']+)'\sContent"
Could you also help to get the string , starting from "Deploy to" till ":".
In this case the extract string should be raven-snapshots
try this:
|rex "Deploy\sto\s'(?<string2>[^:]+)"