Regular expression to change line of text
Posted: Mon Apr 04, 2022 5:04 pm
Can someone please help me with a regular expression to change multiple instances of:
FileName ( ../../Routes/Watersnake/Alias/xyz1234.s )
in a file to:
FileName ( "../../Routes/Watersnake/Alias/xyz1234.s" )
xyz1234 is different in content and length in each expression and should remain unchanged. The remainder is the same in all expressions and should be repeated as it is.
Thank you.
FileName ( ../../Routes/Watersnake/Alias/xyz1234.s )
in a file to:
FileName ( "../../Routes/Watersnake/Alias/xyz1234.s" )
xyz1234 is different in content and length in each expression and should remain unchanged. The remainder is the same in all expressions and should be repeated as it is.
Thank you.