Webs Optimization interview question

Introduce yourself? reverse the string with numbers only - abc123d reverse the word with more than 5 length - "hello world this is javascript"