How to use Regex query to separate servername which has different names eg:-
WSINI601XASI01
WRDNA502XUSA05
WGBR601XGBR11
from below subject lines:—
1. INC000027679570 | WSINI601XASI01| scom exchange 2k16: Failed to connect to computer
2. Wo# 1197736/ INC00027697776/ please perform hardware diagnostic on WRDNA502XUSA05
| rex "(?<computer>W[A-Z0-9\d]+)"
| rex max_match=0 "(?<servername>[A-Z]{5}\d{3}[A-Z]{4}\d\d)"
Thank you