Questions tagged [sublime-text-3]

Sublime Text 3 is a cross-platform GUI text editor for Windows, OS X and Linux.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Sublime text duplicate open of the same file

I work on HPC (cluster running on Slurm system) and I use a GUI similar to WinSCP. When running a simulation, the output files are constantly updated. I usually open the output files during the ...
user avatar
0 votes
0 answers
21 views

How to add/merge multiple lines to each other lines?

Hello how to merge multiple lines to each line of other lines? Example Lines1: test1: test2: test3: Example Lines2: add01 add02 add03 Result Needed: test1:add01 test1:add02 test1:add03 test2:add01 ...
user avatar
0 votes
1 answer
17 views

Regex: Select and replace empty lines/empty spaces between two strings on paragraph

I have this html paragraph. You see that between starting tag and the text there are some empty lines/empty spaces. I must delete them. <p class="gaga"> Otra característica de este ...
user avatar
  • 730
0 votes
1 answer
13 views

Edit Gcode to change all G1 Z

I need to edit a standard but very long Gcode from Simplify3D and get a new Gcode with all G1 Zvalue set to 100 for testing purpose. I am trying with sublime text editor to find Z and replace with ...
user avatar
0 votes
0 answers
25 views

Restore information in unsaved tabs from JSON "Session.sublime_session" file in Back up session file

Basically all tab information was lost after an update, I backed up all info before the update obviously, but when restoring it, it just won't restore, there are no solutions in the forums so. TLDR; ...
user avatar
0 votes
1 answer
12 views

Regex: Add html tags at the lines that doesn't have html tags at the beginning and end of it

I have this paragraph. Also, I have a line I need someone to take me home. that doesn't have html tags. So, I need to find this line (not others) and frame it between tags <!-- START --> <p ...
user avatar
  • 730
0 votes
1 answer
44 views

Match all lines which contain string but do not contain other string (with regular expression)

I have this 3 lines, starting with <p class="sd-23">. The second line does not contain the closing tag </p> So, I need to use a regex as to find all lines which contain <p ...
user avatar
0 votes
0 answers
14 views

How to set active node.js version in Sublime Merge?

I have a precommit hook that checks the user is using the correct version of node.js REQUIRED_NODE_VER="v16.15.0" CURRENT_NODE_VER=$(node -v) if [[ $REQUIRED_NODE_VER > $CURRENT_NODE_VER ]...
user avatar
0 votes
2 answers
35 views

How to type © in Sublime Text?

This should be straight forward: To type the copyright symbol © in Notepad (on a Windows PC) you press down ALT and then (with alt still pressed down) punch 0, 1, 6, 9 on the keypad. In Sublime text 3 ...
user avatar
-1 votes
2 answers
27 views

Regex: Add html tag at the beginning of each line (which has no starting tag)

I need to add <p class="mb-40px"> at the beginning of each line that does not have this tag. For example: <p class="mb-40px">moderniseringen av de omgivande ...
user avatar
  • 730
0 votes
2 answers
26 views

Regex: Find and delete html tag which is contained in another tag

I have 2 paragraphs, with html tag <p class="mb-40px"></p> Inside this tag there is text and another <p..> tag I need to find and delete html tag which is contained in main ...
user avatar
  • 730
1 vote
1 answer
66 views

Regex: Concatenate/connect the letters in words separated by space in html tag

I have this html tag: <title>c o n n e c t s t h e l e t t e r s i n w o r d s</title> Must Become: <title>connects the letters in words</title> I try this, but doesn't ...
user avatar
-1 votes
4 answers
104 views

How to delete all files (or the entire content of all files) with less than 250 words with Regex?

Is it possible to delete all files (or the entire content of all files) with less than 250 words? I try this regex, but needs to be improved a little bit. Can anyone help me? Find: (?s)(.*?(\w+\s?){1,...
user avatar
0 votes
1 answer
169 views

Regex: Find lines that do not start with html tag, but end with other tag, and make replace at the beginning

I have this lines, I need to make them all paragraph, <p class="mb-40px"></p> The first 2 lines, doesn't have html tags, but ending with inappropriate tag. And the third line has ...
user avatar
  • 730
-1 votes
3 answers
238 views

Regex: Delete all words/strings on the lines, except html tags

I want to delete all the lines with words, except html tags: <p class="bandy">Cars and jupiter</p> Comentezi folosind contul tău WordPress pentru a nu ...
user avatar
  • 730
-1 votes
3 answers
456 views

Regex: Find all html tags that contain some other particular html tags

I have some html tags starting with <p class="mb-40px"> and end with </p> The first tag has in it some other tags such as </li> </ul> </div> and spaces and \n ...
user avatar
  • 730
-3 votes
2 answers
45 views

Regex: Select all html links except one particular html link <a href="https://..." /></a>

I have more html links such as: <a href="https://liber5fg.files.wordpress.com/2011/02/picture-183.jpg"><img loading="lazy" blah blah" /></a> <a href="...
user avatar
  • 730
-1 votes
2 answers
26 views

Regex: How to delete a a html tag from another html tag paragraph

I have this paragraph: <p class="dobe">Intră pe site-ul magazinului comandă un xerox 3D (ceea ce puteţi face şi voi intrând pe site-ul </a>  sau la numărul de telefon. Dupa ce ...
user avatar
  • 730
1 vote
2 answers
47 views

Regex: Select/Find all html tags that contain only 4 words

I have this 2 html tags. I want to find all html tags that contain only 4 words (only the first line in my example) <p class="mb-40px">My name is prince</p> <p class="mb-...
user avatar
  • 730
-1 votes
1 answer
338 views

Regex: Change to lowercase all the words that have uppercase letters from title html tag (except the first letter)

I want to use regex to change to lowercase words that have uppercase letters <title>THE CHILDREN are at home.</title> TO BECOME <title>The children are at home.</title> So, I ...
user avatar
  • 730
0 votes
3 answers
39 views

Regex: Find the letter (diacritics) î in the middle of the words, but not the letter î at the beginning or at the end of the words

I must find the letter (diacritics) î in the middle of the words, but not the letter î at the beginning or at the end of the words. For example: 1.stăpînii 2.înstăpanit 3.coborî 4.înfornît So the ...
user avatar
  • 730
1 vote
2 answers
204 views

Regex: Select all words that doesn't start with letter "p"

I must use regex to select all words that doesn't start with letter "p". For example: book, laptop, promise So, the regex formula must select only book, laptop My formula doesn't work, don't ...
user avatar
  • 730
0 votes
2 answers
77 views

REGEX: Find the html tags that contain an operator, but which do not contain other operator

1. <p class="mb-40px">My nick name is Prince and <a href="https://mywebsite.com/bla.html" class="color-gege" target="_new">my real name</a> is ...
user avatar
  • 730
0 votes
2 answers
78 views

Regex: Find those links that highlights only one word

I have this 2 links that highlights a word game , and the second the words, acapulco heat <a href="https://mywebsite.com/page-one.html" class="color-bebe" target="_new&...
user avatar
  • 730
0 votes
2 answers
384 views

Regex: How to remove empty spaces or newline character from html tags?

I have this kind of html tag, which is interrupted by space at some point after word masuri: <p class="mb-40px">Aceasta este o melodie alcatuita din patru masuri: reluata apoi de catre ...
user avatar
  • 730
0 votes
1 answer
16 views

Regex: Select only the dots that are followed by words that start with a lowercase letter

I want to use regex as to select only the dots that are followed by words that start with a lowercase letter. Example: 1: My cat is here. and I don't know where is the dog. 2: My cat is here. And I ...
user avatar
  • 730
0 votes
2 answers
83 views

How to remove a specific characters in an emails lines before the @?

How to remove any characters that aren't of the following from email lines before the @, through regular expressions? I tried the following but it didn't work :( Find what: ^([^a-z0-9;:]*)([a-z0-9]*)(?...
user avatar
0 votes
1 answer
38 views

How to remove this codes/keys from lines?

Hello everyone i hope you all have a good day. I want to know how to remove/delete the following codes/keys from lines. Example List: m-1407-m-00 64582e-2bd9-4b06-a9a1-78bfd42a7e6d SimpleHere123 ...
user avatar
1 vote
2 answers
31 views

How to add import content of a hyperlink to the title of that hyperlink with Regex?

I have this link (HTML Links - Hyperlinks) <p class="mb-40px"><a href="my-name-is-prince.html"></a></p> I want to import the content from link, copy it, ...
user avatar
  • 730
1 vote
1 answer
27 views

How to remove duplicates usernames before a splitter in lines?

I want to remove duplicated usernames in lines before the splitter : and keep only the first line of these usernames. Lines Example: zzzz:000000zl zzzz:000000zl! zzzz:000000zl1 zzzz:000000zl123 zzzz:...
user avatar
0 votes
0 answers
429 views

'g++' is not recognized as an internal or external command in Sublime Text 3

how do i fix this? i need help to be able to run c++ code. i think i know what the general idea on how to do but i need it to be more specific. i've downloaded a zip file of mingw from this link: ...
user avatar
  • 1
0 votes
1 answer
90 views

Convert all words from lowercase letter to capital letter (with Diacritics / Accent Marks)

I want to change multiple text files, convert all words from lowercase letter to capital letter, with Find In Files and replace all option. I try this regex: FIND: (.*)([A-Z]+) REPLACE BY: \L$1$2 My ...
user avatar
0 votes
1 answer
486 views

Regex: Convert the first lowercase letter of the starting words into capital Letter (after .dot)

I have this case: My sister is home. she loves music. And I don't have a stereo. I want to find all the words that comes after the dot and start with a lowercase letter in all my lines, and convert ...
user avatar
  • 730
0 votes
3 answers
94 views

Regex: Select the first line in the file which is followed by a blank line

Tablourilor pe care le numim în ulei încep prin folosirea apei Remarcăm că marea majoritate a tablourilor pe care le numim „în ulei“ încep ...
user avatar
  • 730
1 vote
1 answer
255 views

Ubuntu on Windows GUI interface sizing issues with text editors

I've installed Ubuntu 20.04 LTS on my Windows 10 machine using WSL2. I have also installed VcXsrv to use XLaunch to enable GUI environments to open. I updated the high DPI settings found here: Blurry ...
user avatar
  • 19
0 votes
1 answer
124 views

Regex: Add words after the second word on the beginning of each line

I have this 2 lines: Love is the Way is sort of an autobiography, detailing personal stories from Bishop. Love makes the way, no matter what happens, love can change everything. I want to add the word ...
user avatar
  • 730
0 votes
0 answers
88 views

Connection timeout - SFTP Sublime text to amazon EC2 on windows

I'm trying to use the SFTP packages from Sublime Text to access a remote folder on my EC2 server. I'm getting a Connection timeout failure. I don't understand why. Here are my current SFTP server ...
user avatar
  • 101
0 votes
0 answers
63 views

In SublimeText, how do I disable bracket completion for typing only?

By default in SublimeText, when you type a paren, bracket, or quote, the closing character is placed after your cursor. I find this very annoying, since often the closing character has to be much ...
user avatar
  • 101
0 votes
0 answers
44 views

How to auto-save unsaved tabs in Sublime Text?

I am using Sublime Text on Mac OS X. During the day I keep a sublime window open and keep adding notes by opening up new tabs in it. At the end of the week I have around 50 tabs open. I don't want to ...
user avatar
  • 101
0 votes
1 answer
647 views

Regex: Find and show only the string between FIRST-PART and SECOND-PART of the text

I have this text, from many other html with the same format and links, only the text is different. I want to extract this part of the text: "the ideal hypostasis of a vast expanse". Basicaly,...
user avatar
  • 730
0 votes
1 answer
25 views

Upgrading Sublime-Text using snap - no updates available but new version is available

My Sublime Text 4 just informed me that an update was available. Since I installed it using snap I wanted to update it using snap but snap tells me that no ST updates are available. My current build ...
user avatar
  • 101
0 votes
0 answers
42 views

Is there a way to jump to mark in Sublime Text?

Is there a way to jump to mark in Sublime Text? By mark, I mean under Edit, there is a selection of actions with respect to a marked line. I need to jump between 2 or 3 places in a large file (which ...
user avatar
  • 442
1 vote
2 answers
111 views

Regex: Find all links that doesn't have one / (slash)

Suppose I have a link like this: https://neculaifantanaru.com/en/the-continuity-of-the-work-of-art.html How can I find all links (such as the one above) that doesn't have / (slash) after /en The ...
user avatar
  • 730
0 votes
0 answers
20 views

Text selection with Option + left/right in Sublime Text

On a Mac, when holding option and hitting left or right keys, if your text includes dashes the cursor used to stop before and after the dash. Now it seems to ignore dashes and jumps to the end of the ...
user avatar
  • 101
2 votes
1 answer
151 views

How to create new build system on sublime text 4

I used sublime text 3. I created a new build system for C++ to take input from the command line. Recently I installed windows 10. So I have to install sublime text again. Now the version of the ...
user avatar
0 votes
3 answers
73 views

Regex: Select strings/lines from one point to another point (with many \n)

I want to select all lines starting with <!-- FLAGS_1 --> and ending with <!-- FLAGS --> <!-- FLAGS_1 --> <div class="cautareField"> <...
user avatar
  • 730
0 votes
1 answer
104 views

Using ssh remote forwarding with two ip addresses at the same time?

I have been using sublime remotesubl package so that I can use sublime as the text editor to do work on a remote server. Following this remotesubl github tutorial, I was able to set up the system with ...
user avatar
0 votes
1 answer
848 views

Regex: Match and delete 2 words before and after the specified word

This is the line: I love you and George loves IOANA but also Mihai is my enemy. I want to match 2 words before IOANA, and also 2 words after IOANA The Output should be: I love you and IOANA Mihai is ...
user avatar
0 votes
1 answer
726 views

REGEX: Select only the first word at the beginning of each line that contain the word HTML

I want to select the first word at the beginning of each line that contain the word HTML. For example: I go home now.html" and then Take me with you nowhtml" and then My book is great. The ...
user avatar
  • 730
0 votes
1 answer
101 views

Regex: Select all words that doesn not have . (dot) in front of them

I have 5 cases: I search something in my-life.html" again> Don't trust mylifehtml" ever> <!DOCTYPE html> <!--<html xmlns="http://www.w3.org/1999/xhtml" dir="...
user avatar
  • 730

1
2 3 4 5
11