I need match this regular expression pattern in the given text with python.

The text is :

```
  """

       2010 Toyota FJ Cruiser FJ CRUISER

       Int. Color:

       Ext. Color:

       Black

       Trans:

       Automatic

       VIN:

        JTEZU4BF7AK009445  

      Stock:

      122821B

      DIFFERENTIALBLACK

     Status:

     Body Style: 
     SUV
     Engine:
     Gas V6 4.0L/241
                                             Dealership: Universal Toyota

    $29,988*
                                             Price

     View More Information

     Compare?

    """

```

From this text i need to extract "JTEZU4BF7AK009445" (length is 17) this pattern after vin: probably

I used this pattern

```
        vin_pattern = re.compile('([A-Z0-9]{17})')
        vin = re.findall(vin_pattern,text)

        ["JTEZU4BF7AK009445","DIFFERENTIALBLACK"]

```

But *DIFFERENTIALBLACK* should not be matched

As well as I used also the pattern

```
       price_pat = re.compile('(\$[0-9\,\.]+)')

```

to match the price range ("$"sign+value)

Here I need to check this price matching pattern **only before and after 50 characters** of **VIN\_PATTERN** appears.
Because in some cases i have more price values.So, i need to filter the text before 50 characters and after 50 characters of that VIN pattern exists

Plz How it should supposed to do?