You could use back references in the replace string. Typically it would look something like:
Search regex:
(.)(w)
Replacement pattern (notice the space):
$1 $2
The back references are stand-ins for the corresponding groups.
Alternatively, you could use lookarounds:
(?<=.)(?=w)
This doesn't "capture" the text, it would only match the position between the period and the letter/number (a zero-length string). Replacing it would, essentially, insert some text.
Really, though, it depends on the capabilities of your text editor. Very few text editors have a "complete" regular expression engine built-in. I use TextPad which has its own flavor of regular expression which largely does not support lookarounds (forcing me to use the first approach).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…