remove all characters except the last five, to get "930-1"Solution:
Working example: regexr.com/3spqe
Find before the end of the string is 5 characters, you can add the desired symbols.
remove all characters except the last five after the last hyphen "38930"Solution #1:
Working example: regexr.com/3spqb
. Move the fragment to see the contents of the first group.
Find dash before the end of the row and pick 5 characters to. They are in group #1 or name "last".Solution #2:
Working example: regexr.com/3spsa
Then used advanced test.