@mik888em said in Как удалить середину строки регуляркой?:
ago 9 minutes, 37 seconds 66,141 views
lol Scammer,
You could just parse string by spaces and use last 2 elements from parsed list.
First element is always the same anyway, - ago. Even very last is always the same,
so you just need that number of views which is one before last.
But you wanted regex lol.
(если только вокруг него круглые скобки)