Questions tagged [textpad]

TextPad is a general-purpose text editor.

TextPad is a general-purpose text editor for Microsoft Windows, published by Helios Software Solutions.

146 questions
3
votes
1 answer

Select multiple lines of data using regular expression?

I am working on a macro in TextPad. I want to select multiple lines of data between two stars. For example: abc * cvb vvnbj vnbvn * cvb I want to select the three lines between two stars. How we can select these using regular expression in TextPad?
user1736135
  • 31
  • 1
  • 3
3
votes
1 answer

How do I pass the current Eclipse text editor cursor location to an external tool?

The company I work at is adopting Eclipse for work on our proprietary languages. I'm writing an external tool to replace functionality that we had in our proprietary editor, allowing programmers to select an item from our software to be inserted at…
3
votes
3 answers

Why would Textpad ask if you want to use POSIX regular expression syntax?

I need to separate out a bunch of image urls from a document in which the images are associated with names like this: bellpepper = "http://images.com/bellpepper.jpg" cabbage = "http://images.com/cabbage.jpg" lettuce =…
boysenberry
  • 87
  • 1
  • 2
  • 7
2
votes
2 answers

Regex to replace multiple spaces at the end of line with comma or add comma

I'm using Regex and TextPad to clean up and prep sql scripts. I want to replace with comma or add comma: 1 or more spaces at the end of each line at end of each line or the last line (i.e. "end of file") After spending a few hours researching and…
daniellopez46
  • 594
  • 3
  • 7
  • 17
2
votes
1 answer

In Textpad how to replace space in only part of a string

I have several html files (source code) which contain lots of text and include the code of many reports files linked to. I need to replace every space ( ) in the filenames by the undescore sign (_). This replace must not affect the rest of the…
CaroW
  • 23
  • 5
2
votes
1 answer

Regular expression to replace number in increment order in TextPad

I want to replace increment number using regular expression in TextPad. I have below code and I want increment number between tag and and number should remain 8 digits.
Jayveer Parmar
  • 500
  • 7
  • 25
2
votes
1 answer

Does anyone have a Groovy syntax file for TextPad?

I'm searching a Textpad syntax file for groovy. There is none on the Textpad Syntax Definitions page (http://www.textpad.com/add-ons/syna2g.html). All I have found so far are links to a file that was on Codehaus…
ami
  • 969
  • 2
  • 8
  • 12
2
votes
1 answer

TextPad Find Replace Commands Wild Cards

I am trying to figure out how I can put together a find and replace command with wildcards or figure out a way to find and replace the following example: I would like to find terms that contain double quotes in front of them with a single quote at…
Jeff
  • 852
  • 7
  • 17
  • 28
2
votes
2 answers

Regular expression to replace nth occurrence of a word on every line in Textpad

I have a file with thousands of lines containing comma separated columns.…
Vicky
  • 16,679
  • 54
  • 139
  • 232
2
votes
3 answers

TextPad won't save class as .java

In TextPad, I have a class called Document1. I click on file-save as and for "save as type" I click "Java". However, when I hit OK, instead of showing up as Document1.java, it shows up as Document1.txt. Why does it save as a .txt file? And how do I…
2
votes
3 answers

How to select text between greater than and less than with an additional slash

I'm trying to select text between >text(.*?)\<\ I'm trying to do this in TextPad. How is this supposed to be…
user1899872
  • 127
  • 2
  • 4
  • 15
2
votes
2 answers

Regex: rounding all the real number in a text file (keeping the 15 decimal digits)

I have a text file with thousands of entries (the nodes of a mesh) like 7.40000000000060391E+01 7.40000866410523770E+00 1.05000000970718801E+01 6.40000007900613273E+01 2.40500000000000321E+02 2.40000000428227065E+00 …
Millemila
  • 1,612
  • 4
  • 24
  • 45
2
votes
1 answer

TextPad Regex: How to Find and Replace character within angle brackets?

I've got the below sample text Hello | World sample | text to be converted as below Hello | World sample | text…
San
  • 3,933
  • 7
  • 34
  • 43
2
votes
1 answer

Does anyone have a TextPad syn file for GSP?

I am looking for a syntax hilighting file for Textpad which hilights the Groovy g namespace. I have been trying to build one myself and can't quite figure out how to do it - or whether it is possible to have namespace based syntax hilighting in…
Simon
  • 78,655
  • 25
  • 88
  • 118
2
votes
3 answers

Looking for a string with regex and delete the whole line

I am trying to find in Textpad a character with regex (for example "#") and if it is found the whole line should be deleted. The # is not at the beginnen of the line nor at the end but somewehre in between and not connected to another word, number…
ChriS
  • 23
  • 1
  • 1
  • 3
1
2
3
9 10