I want to search a set of specific string from a word using PHP regular expression. The pattern is like this
The string is of 6 character length
First 5 characters of this string are number 0-9
Last 1 character is a A-Z or a-z alphabets
there are more then one strings like this in a Word.
So eg. the word is
037165L_55084L_1959Z
Then the output of regular expression should return below 2 strings
37165L
55084L