Try this code (necessary comments in code):
Option Explicit
Sub GetMaxNumber()
    Dim txt As String, idx As Long, idx2 As Long, maxValue As Long, extractedNumber As Long, char As String
    maxValue = 0
    'set variable in a code or use cell value
    'txt = Range("A1").Value
    txt = "Class 1 - $250,000 - PTD equal to principal sumClass 2 - $500,000 - PTD equal to principal sumClass 3 - $500,000 - PTD equal to principal sumClass 4 - $250,000 Class 5 - $250,000 Class 6 - $250,000"
    idx = InStr(1, txt, "$")
    'on each loop we will look for dollar sign (you mentioned, that every number starts with it)
    'and then, look for first non-comma non-numeric characted, there the number will end
    'at the end we extract the number from text
    Do While idx > 0
        idx2 = idx + 1
        char = Mid(txt, idx2, 1)
        'determine the end of a number
        Do While IsNumeric(char) Or char = ","
            char = Mid(txt, idx2, 1)
            idx2 = idx2 + 1
        Loop
        'extract the number, also removing comma from it
        extractedNumber = Replace(Mid(txt, idx + 1, idx2 - idx - 2), ",", "")
        'if extracted number is greater than current max, replace it
        If maxValue < extractedNumber Then maxValue = extractedNumber
        idx = InStr(idx + 1, txt, "$")
    Loop
    MsgBox maxValue
End Sub