Search and append with regex in Notepad++

I have the following text:

3/1 

I want to amend it to be:

3/1 port id

Answers


Find this: (\d+\/\d+)

This means "the group of: 1 or more digits followed by a forward slash followed by 1 or more digits"

Then replace with this: \1 port id

Which means "the first group found followed by the literal text: ' port id'"


Can't you just do a search and replace for 3/1 replacing it with 3/1 port id?


Need Your Help

datetimepicker getDate to return Date / Time in UTC format

jquery datetimepicker

I happen to read this datetimepicker addon and found it to be of great use. The issue that I am facing using this tool is that I am unable to get data / time format in UTC or other formats (my inte...

Append multiple styled radio button

jquery css

This radio input is appended from PHP through an AJAX call made in jQuery. Every time the user clicks a button one radio is appended from the PHP code. The radio inputs works perfectly when they ar...