If it write to you that regular expression is invalid, you are not able to use copy/paste. My regular expression is OK.
If you want to find first and then last in two steps, use this expression: (^\d+|\d+$) -- <https://forum.pspad.com/read.php?2,73408,73411> PSPad freeware editor https://www.pspad.com
