I have the following string:
"crypto map OUTSIDEMAP 540 match address 3P-DC-CRYPTO"
And, I am trying to match with a regex only 3P-DC-CRYPTO
So far, I have managed to write the below regex :
crypto_acl = re.findall("address [-\w+]*",output)
However, it matches address 3P-DC-CRYPTO
Any suggestion?
output.split()[-1]will do that.