I need to extract 12 Char before and after based on phone number(1234567890) from a string.
Input String 1:
My name is Joe and I reside in California & my phone is 1234567890. I'm a software developer
Expected Output:
my phone is 1234567890
1234567890. I'm a soft
Input String 1: (Here i don't have 12 char after phone number so capture end of the String)
My name is Joe my phone no is 1234567890 changed
Expected Output:
phone no is 1234567890
1234567890 changed