Thanks Ben. This is just what I needed.ben_josephs wrote:Find what: FileName \( (\.\./\.\./Routes/Watersnake/Alias/[^)]+) \)
Replace with: FileName \( "$1" \)
Search found 44 matches
- Mon Apr 04, 2022 11:00 pm
- Forum: General
- Topic: Regular expression to change line of text
- Replies: 4
- Views: 933
- Mon Apr 04, 2022 9:36 pm
- Forum: General
- Topic: Regular expression to change line of text
- Replies: 4
- Views: 933
Depending the exact details of what is to be replaced, this might do it: F i nd what: FileName \( ([^)]+) \) Re p lace with: FileName \( "$1" \) Thanks but it adds the quotes for all lines with a format like FileName ( xxxxx.s ) I really only need to replace lines with ../../Routes/Watersnake/Alias ...
- Mon Apr 04, 2022 5:04 pm
- Forum: General
- Topic: Regular expression to change line of text
- Replies: 4
- Views: 933
Regular expression to change line of text
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 ...
- Sat Dec 26, 2020 11:08 pm
- Forum: General
- Topic: Regular Expression Help Please
- Replies: 12
- Views: 3715
- Sat Dec 26, 2020 10:16 pm
- Forum: General
- Topic: Regular Expression Help Please
- Replies: 12
- Views: 3715
Jack, we seem to be getting closer but this gives me:
where I need:
Code: Select all
"FileName ( ..\\\\\\\\..\\\\\\\\routes\\\\\\\\Chiltern\\\\\\\\Dynatrax\\\\\\\\DynaTrax-40055.s )"
Code: Select all
FileName ( "..\\\\\\\\..\\\\\\\\routes\\\\\\\\Chiltern\\\\\\\\Dynatrax\\\\\\\\DynaTrax-40055.s" )
- Sat Dec 26, 2020 3:11 pm
- Forum: General
- Topic: Regular Expression Help Please
- Replies: 12
- Views: 3715
- Sat Dec 26, 2020 12:26 pm
- Forum: General
- Topic: Regular Expression Help Please
- Replies: 12
- Views: 3715
- Fri Dec 25, 2020 1:04 pm
- Forum: General
- Topic: Regular Expression Help Please
- Replies: 12
- Views: 3715
This in in principle is what I need although there are two problems. 1. It is only the following string which I am attempting to enclose with double quotes. Your solution quotes the whole line. ..\\\\\\\\..\\\\\\\\routes\\\\\\\\Chiltern\\\\\\\\Dynatrax\\\\\\\\DynaTrax-40055.s 2. There are two tab ...
- Thu Dec 24, 2020 5:23 pm
- Forum: General
- Topic: Regular Expression Help Please
- Replies: 12
- Views: 3715
- Wed Dec 23, 2020 10:17 pm
- Forum: General
- Topic: Regular Expression Help Please
- Replies: 12
- Views: 3715
Regular Expression Help Please
I have very many entries in a file similar to the following: FileName ( ..\\\\\\\\..\\\\\\\\routes\\\\\\\\Chiltern\\\\\\\\Dynatrax\\\\\\\\DynaTrax-40082.s ) I need to change this to: "FileName ( ..\\\\\\\\..\\\\\\\\routes\\\\\\\\Chiltern\\\\\\\\Dynatrax\\\\\\\\DynaTrax-40082.s )" Each has a ...
- Tue Feb 11, 2020 12:14 pm
- Forum: General
- Topic: Text Replacement to End of Line
- Replies: 2
- Views: 805
- Sun Feb 09, 2020 2:32 am
- Forum: General
- Topic: Text Replacement to End of Line
- Replies: 2
- Views: 805
Text Replacement to End of Line
Is there any way to select all the text from the first time a particular character appears in a line of text, to the end of that line and replace it with other text. The "particular character" may be repeated in what is to be selected for replacement.
- Mon May 22, 2017 4:41 pm
- Forum: General
- Topic: Screen Location
- Replies: 2
- Views: 711
- Sat May 20, 2017 8:29 pm
- Forum: General
- Topic: Screen Location
- Replies: 2
- Views: 711
Screen Location
Is there a way to make the TextPad window open at a particular screen location (or to save the last screen location)?
- Tue Mar 22, 2016 12:56 pm
- Forum: General
- Topic: New Document opens when not requested
- Replies: 0
- Views: 1998
New Document opens when not requested
When I send arguments to TextPad 8 to open multiple files, it also open a blank new documents. This did not happen in version 7. This does not happen I I use the "sent to" context menu. Any suggestions?