I want to replace digits that are exactly next to a-z A-Z 0-9 .-_ linebreak space and they are exactly before a-z A-Z 0-9 .- but not those between 2 spaces or 2 other language characters.
I have strings like :
1. "www.asdf123asd.com"
2. "asd123.sdf"
3. "123.sdf"
4. "adf 123 asdf"
and I want to change them to :
1. "www.asdf<b>123</b>asd.com"
2. "asd<b>123</b>.sdf"
3. "<b>123</b>.sdf"
4. "adf 123 asdf"
any suggestion?