To tackle your original problem:
Search For: ST2('SomeText-01a')
And replace it with: ST2(this.id)
The regular expression needs to eat everything between the literal brackets:
ST2\([^)]+\)
so everything that was matched can be replaced with:
ST2(this.id)
Most Excellent!
358 Big Thank Yous ...
Search found 5 matches
- Mon Apr 08, 2013 7:33 am
- Forum: General
- Topic: replace with regular expressions
- Replies: 4
- Views: 1508
- Mon Apr 08, 2013 5:23 am
- Forum: General
- Topic: replace with regular expressions
- Replies: 4
- Views: 1508
Is This Replacement Possible?
I'm new at figuring out replacement expressions so any help getting
me going with this would be most appreciated.
I've tried a bunch of things in the help files, but there isn't much on
how to combine regular expressions with segments of existing code
to identify where to start and stop the regex ...
me going with this would be most appreciated.
I've tried a bunch of things in the help files, but there isn't much on
how to combine regular expressions with segments of existing code
to identify where to start and stop the regex ...
- Sat Apr 06, 2013 9:11 am
- Forum: General
- Topic: Click brings to foreground but doesn't place cursor
- Replies: 6
- Views: 859
- Sat Apr 06, 2013 2:20 am
- Forum: General
- Topic: Click brings to foreground but doesn't place cursor
- Replies: 6
- Views: 859
Enable Instant Focus When Switching Between Documents
Version: 6.2.2 32 Bit
OS: Win7 Ultimate SP1
I've tried the suggestions here and a few others and cannot get TextPad to focus instantly on returning to the TextPad window.
Example: When TextPad is configured not to allow multiple instances to run so that all View Source commands open the files ...
OS: Win7 Ultimate SP1
I've tried the suggestions here and a few others and cannot get TextPad to focus instantly on returning to the TextPad window.
Example: When TextPad is configured not to allow multiple instances to run so that all View Source commands open the files ...
- Tue Jun 12, 2012 6:30 pm
- Forum: General
- Topic: TextPad 6.1 is released
- Replies: 10
- Views: 2752
TextPad 6
I've used the trial versions a lot over the years and it has always been the best even with the few issues it has had. I've tried all the free editors and I just don't like them as much. TextPad has probably saved me hundreds of hours of work compared to simple text editors like Notepad. So I'm glad ...