Hey guys,
wonder if you could help me out with some Javascript. I have a string that is log message, and i'm waniting to grab a section out of this log and display that on it's own
eg.(bear in mind the log section is not case sesitive and any letter can be any case, also could be placed anywhere withing the string)
$LOG: 08880xbpnd $ fhdsafidsfsd df sd fsd f sd fsd
thats the orignal log, Im wanting to grab the 08880xbpnd and get rid of the rest? how can this be done in javascript?
thanks for the help matt
edit
if this is any help i have this regex in perl that grabs the log somewhere else
/(?i)\$LOG:\s*(none|(temp(GD|MD)(.\d{1,2}){4}))\s*\$/
basically what ever in between $LOg: and $ i want to grab and exclude any white space that value in between could be anything or that above