Complete the function definition below.
Given an input string, the function should find the hexadecimal value present in it and return the decimal value of the same.
- The string input given may contain a suffix string.
- If a value does not contain a hexaDecimal, the function should return 0.
For example: