For the first value:
Assign activity → YourVariableForAmount = System.Text.RegularExpressions.Regex.Match(YourInputString, “\d+.\d{2}”).Value
For the second value:
Assign activity → YourVariableForCardNumber = System.Text.RegularExpressions.Regex.Match(YourInputString, “\d{4}-\d{4}-\d{4}-\d{4}”).Value
Replace YourInputString with the variable that holds the string you want to search. The result will be a match object, from which you can get the .Value to obtain the matched string.