I have the string:
NeName = MGLUE_EPCVMH_UGW01
I need the first 3 letters after the first "_" Can you help me?
I have the string:
NeName = MGLUE_EPCVMH_UGW01
I need the first 3 letters after the first "_" Can you help me?
The regular expression is as follows:
_(.{3})
Here's a Javascript test that shows how it works:
var str = 'NeName = MGLUE_EPCVMH_UGW01';
var regex = /_(.{3})/m;
var match = regex.exec(str);
console.log(match[1]);