regex - Regular expression: add string at start and end of line -


i have text file , want add string each row @ start , end of line.

for example:

binary_xml_record_prefix_dictionary_attribute_z  

after regex action:

case binary_xml_record_prefix_dictionary_attribute_z: 

thanks.

you can use following match:

(.+) 

and replace with:

case $1: 

see demo


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -