In the below Email body, I need to grab the External Account Id (4891 in the below example), however, that text can be between 4 and 8 characters long.
Once I have the ID I'll find a matching account with the same External ID and stamp that Account on the Case I'm creating.
External Account Id: 4891
---------------------------------------
ContactName: John
ContactPhoneNumber: (212) 555-3554
WebsiteUrl: http://google
WorkFlow: 26612707
Thoughts? Everything I've found so far tells me to specify the character count but that doesn't work for me here.