I need a regex match so that it will get only digits that are in a group or 1-5 and are not surrounded by .'s or does not start with a dot.
For example "id=test>23.34<\id>" would not be picked up because both are surrounded by .'s but "id=test>2354<\id>" would because it is alone.I am trying to learn regex so an explanation would help. Thanks.
For example "id=test>23.34<\id>" would not be picked up because both are surrounded by .'s but "id=test>2354<\id>" would because it is alone.I am trying to learn regex so an explanation would help. Thanks.


