I have a replace string that is 2,600 characters but Textpad won't let me enter the entire string?
Any way to get around this instead of having to find/replace 3 times?
Override Textpad's replace character limit?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
Select regular expressions.
Use the beginning of the target string and the end of the target string, and stick .* in between:
Beginning_of_string.*End_of_string
Ensure that the beginning and end strings are long enough so that the whole expression matches only instances of the target string.
Ensure that any regular expression special characters in the beginning or end strings are escaped with backslashes.
Use the beginning of the target string and the end of the target string, and stick .* in between:
Beginning_of_string.*End_of_string
Ensure that the beginning and end strings are long enough so that the whole expression matches only instances of the target string.
Ensure that any regular expression special characters in the beginning or end strings are escaped with backslashes.
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
Sorry. I answered the wrong question!
1023 = 2^10 - 1 (a power of 2, less 1 to make room for a null character at the end)
2046 = 2^11 - 2
Are you sure the NotePad++ figure isn't 2047?
Ah yes:
Here are v5.3.1 new features ...
1. Increase "Find what" and "replace with" fields to 2047 characters in Find/Replace dialog.
1023 = 2^10 - 1 (a power of 2, less 1 to make room for a null character at the end)
2046 = 2^11 - 2
Are you sure the NotePad++ figure isn't 2047?
Ah yes:
Here are v5.3.1 new features ...
1. Increase "Find what" and "replace with" fields to 2047 characters in Find/Replace dialog.
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm