I have a string format which is like:
- the word must be 15 letters long
- first 8 letters are date
Example: '2009060712ab56c'
Let's say I want to compare this with another string and give a percentage of format similarity like:
result = format_similarity('2009060712ab56c', '20070908njndla56gjhk')
result is let's say in this case 80%.
Is there way of doing this?