Hi Everyone, Please assist me on this…I have this regex to extract 8 digits it can find on email :
“\b\d{8}\b”
and assume that is a policy number but then, I thought a policy number is 8 number but recently find out its sometimes 7…Is there a method I can use to achieve this?
search for 7 digits ,if not 7 digits then check for 8 digits instead.
Is there a pattern like that or i will have to use if conditions