how to split an extension of a file and replace with python code example
Example 1: how to separate url from text in python
(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w\.-]*)*\/?\S
Example 2: using capture groups in find and replace vscode
// Given some regular expression
(?<capture_group>...)...(?<another_capture_group>...)
// You can reference them in your replace by using
$1, $2,...