I need to extract the number range from house number/ unit number. example - 1B to 36B, 1-B to 36-B or B1 to B36 or B 1 to B 36 the result should be 1 to 36
The prefix or postfix characters or digits can have any length. ex B150 or B1709 or 150B or 150Block or 1709Block
Please let me know how this can be achieved in Java.
Thanks.