
Note: As only 9 regions can be used you can safely use replace string \10\2 to produce "text from region 1"0"text from region 2". For example, if the search string was Fred()XXX and the replace string was Sam\1YYY, when applied to Fred2XXX this would generate Sam2YYY. This refers to the first through ninth (\1 to \9) tagged region when replacing. These tags can be used within the current regular expression or in the replacement string in a search/replace. These tag can be access using the syntax \1 for the first tag, \2 for the second, and \3 \4. To match all characters including new lines you can use \s\S. Note: That this means "." will also match \r which might cause some confusion when you are editing a file with both \r and \n. Matches any character except new line (\n). Note: Multi-line expressions (involving \n, \r, etc) are not yet supported. Regular Expressions allow complicated and flexible search/replace using a specific syntax. So you could have for instance \\1/\\2, or \1/\2, as a replace string instead of $1/$2._NOTE: For older versions of PN the tagged expressions start \( and end \) and there are no non-capture groups nor the backslash groups. In other editors or programming languages, instead of the $ sign, the \ is sometimes used (sometimes doubled) to refer to parenthetic groups. Otherwise, they're just omitted (try replace string $1$2 and you'll see what I mean). Notice that all characters that are not enclosed by ()'s need to be re-written in the replace string. That's why the replace string has to be $1/$2. But since what follows the second group is another / (the 2nd one on the line), you need to replace it with the.

Since you don't want to replace the first slash, you need $1/$2 at the beginning of your replace string. $2 refers to the second group, also (.*?), but which follows the first /.$1 refers to the first group, (.*?) which is at the beginning of the line, as specified with the ^ character.In Notepad++'s replace string, the dollar sign is used to refer to groups enclosed by parentheses in the regex.

You only need to change your replace string with the following: I have found various posts and managed to derive a way of doing it from them but it's not doing it how I want. I would like to change the second forward slash, within each line, to a comma.
