how to specify either or placeholder

how to specify either or placeholder

I have a form that takes phone number as input in a field I have set the
type as tel as per HTML5 standard. I need the input to accept either 8
digit or 10 digit values.
I tried
<input type='tel' placeholder='0123456789 or 12345678'></input>
i also tried adding pattern="[0-9]{8} or [0-9]{10} but, did not work, is
there an other way