Inbound action script help for stripping only computer name

RudhraKAM
Tera Guru

Hello I need to create an Incident when an Email from xyz is being sent to servicenow , but email might have some computer names which I need to only get those names and set it in Description of Incident , 

Below is the email which we will get and we only want computer names under Problematic BCA clients . 

Thanks in advance 

 

RudhraKAM_0-1738174506132.png

 

 

6 REPLIES 6

@RudhraKAM  You can build regex here and use match() to retrieve the computer name data. 

 

Doc link for further details.

String.prototype.match() 

 

Thanks

Harsh

 

ChrisBurks
Mega Sage

What's the HTML structure behind the email and aside from the count of computer names that might appear is the structure consistent?