Hi I have a file of blacklists, inside the file it looks like this
I would like to use the regex function to add "add dst-host=" to the start of each line and " action=deny"
to the end of the file so the results will look like this
I would do this by hand but there are a million lines ;)
add dst-host=yukoyuko.112.2o7.net action=deny
add dst-host=yuppads.com action=deny
add dst-host=yuppitraffic.info action=deny
add dst-host=yuzt.com action=deny
add dst-host=z.abnad.net action=deny
add dst-host=z.blogads.com action=deny
add dst-host=z.digg.com action=deny
add dst-host=z.extreme-dm.com action=deny
add dst-host=z0.extreme-dm.com action=deny
Use two replace commands :-
replace with:add dst-host=
replace with: action=deny
Make sure Regular expression is selected.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.