Regular Expressions 101

Community Patterns

Add string after matching 1st occurence, every line

0

Regular Expression
Golang

`
(^reflectance_\d_)(\S*)$
`
gm

Description

Regex adding a string (here vs_) after 1st matching occurence (of reflectance_\d_).

Submitted by Nikos Alexandris - 3 years ago