Replace characters between 2 characters

Replace characters between C and F with XXX:

perl -lpwe ‘s/C.*?F/XXX/g’

This entry was posted in Linux and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *