using javascript how can i get 0e783d248f0e27408d3a6c043f44f337c54235ce from below string
my console.log(stdout); prints
status.html:commit 0e783d248f0e27408d3a6c043f44f337c54235ce
The value 0e783d248f0e27408d3a6c043f44f337c54235ce will be changing.
Am trying to find that key
string.split('commit').pop();