Update conversion.py

Added regex
Merge pull request #1 from Pear0/patch-1

Update conversion.py