I'm requesting help constructing a regular expression for the following:
I need to extract two values from the string below:
field a='app' (string after first [ before first slash) field b = '5' (value after last slash before closing])
Another example is:
fielda = app fieldb= 3
In addition, I need the extraction to fail if a string of characters is found.
For example, the character string to exclude is 'function':
The extraction should fail since 'function' is contained in the string.
Any assistance would be appreciated.
Thanks in advance.