Dallas Smetter
asked on
Regex: show the last n characters of a string
I have 36 characters strings, and I need to find out how to use a regex to just show the last 4 characters, whatever they may be.
Thank you in advance!
Thank you in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Another solution:
(....)$
simple as it is.
(....)$
simple as it is.
ASKER
Wish I could give some points to Surrano.
You can.
Click on "Request attention" and ask a mod to reopen the question.
Then you can redistribute the points as you see fit.
HTH,
Dan
Click on "Request attention" and ask a mod to reopen the question.
Then you can redistribute the points as you see fit.
HTH,
Dan
ASKER
Step one has been performed.
C'mon I already saw that the question was closed before I answered. No need to redistribute points. Really.
ASKER
Suit yourself, I was just trying to do what I thought was right. Damned if you do, damned if you don't...
Not damned... You just embarrass me :-)
ASKER