I need an expression that searches for specific strings and returns the value associated with that string if they exist.
For example I have a file which has the following lines in it:
I need to code an expression that searches for "number-of-processors:" and returns the value after the ":"
I also need an expression that searches for "partner-system-name:" and if it exists (this may not always be present in the data) return the value after the ":"
Any help would be much appreciated!