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
37 views

SSH remote forwarding fails for root user

I'm using remote forwarding for Sublime (rmate) using the following configuration in my (local) .ssh/config file: Host host User user Hostname hostname RemoteForward /home/user/.rmate.socket localhost:...
ajthealchemist's user avatar
1 vote
1 answer
45 views

Tie sublime text with the pdf viewer

I'm using Sublime Text 3 for LaTeX, and it works great. My only concern is that it uses an external PDF viewer (SumatraPDF), so I have 2 windows to work with. If these were the only windows I needed, ...
Dmitry's user avatar
  • 113
0 votes
3 answers
83 views

REGEX: put all the words in a paragraph on a single line

as seen below, each line in all the paraphrases is unfinished. The words at the beginning of each line in the paragraph are not a continuation of the previous line. I'm interested in connecting all ...
Just Me's user avatar
  • 816
0 votes
2 answers
49 views

Regex: Find all words that starts with `un|unui|o|unei` follow by any words, but after that words have the connecting element `de`

I want to find a regex formula, as to find all words that starts with un|unui|o|unei follow by any words, but after that words have the connecting element "de" unui model de amintire un ...
Just Me's user avatar
  • 816
0 votes
0 answers
5 views

Sublime Vintage navigation with +,- not working?

So +, - keys are supposed to navigate to the next/prev line starting on the first non-white space character. But it doesn't do anything when I tried. Is it not supported? Don't think I have any key ...
hackerl33t's user avatar
0 votes
1 answer
39 views

Regex: Replace empty space with a dash between the words, on canonical html tag

I have this canonical link, but if you look well, there are some empty space on the html link. Those empty space I must replace it with a dash <link rel="canonical" href="https://...
Just Me's user avatar
  • 816
-3 votes
1 answer
29 views

Regex: Find those words that doesn't have html tags on line, and add tags before and after

I have these 3 lines. The words in the second line are missing html tags. <p class="mb-40px">ARTICOL START</p> ARTICOL START <p class="mb-40px">ARTICOL START</...
Just Me's user avatar
  • 816
0 votes
3 answers
34 views

Regex: Put the content of mutiple html tags into a single html tag

<p class="mb-40px">Decisive too, of <p class="mb-40px">otherwise, it was the opportunity to <p class="mb-40px">acquire what were to be two pillars <p ...
Just Me's user avatar
  • 816
0 votes
1 answer
19 views

Regex: Add html link to another html link in the same html tag (Double the html Link)

I have this html class with a html links inside. The problem is not clickable on mouse over. So, I want to make it clickable. <p class="mb-40px"><strong>* Surs&#259;:</...
Just Me's user avatar
  • 816
-2 votes
3 answers
189 views

Regex: Select and delete all lines between 2 points

I want to delete all those lines that starts with <script type="application/ld+json"> and ends with </script> For example: <script type="application/ld+json"> { &...
Just Me's user avatar
  • 816
0 votes
2 answers
536 views

Replace between brackets content sublime & regex

I've actually got lines like this: [Sat Dec 31 18:24:18.700 2022] 0.017 sec 0.017 sec [all/2/rel 37 (0,700) @groupparentid] [post]keyword How can I delete the whole line starting with bracket [ and ...
Nass's user avatar
  • 1
0 votes
0 answers
133 views

Can not connect with SFTP Sublime to OS X server

I have an SFTP server running on OS X that I want to connect to with the SFTP package in Sublime Text using macOS and connected with FileZilla without any issue. For some reason, I get a timeout every ...
Gulmuhammad Akbari's user avatar
0 votes
2 answers
51 views

Regex: Make search and replace up to a certain point (up to a certain line from paragraph)

So, I have this text. I need to use regex as to change the word however, and replace it with (empty space) The big problem is that I want to make the replacement in all text, but only those ...
Hellena Crainicu's user avatar
0 votes
1 answer
223 views

How can I replace the numbers after the dot?

I have a json file in my hand, I want to replace the numbers here so that there are 2 digits after the dot. I am using (Sublime Text, Notepad). can you help me? for example; I want to write 32.48 ...
theoyuncu8's user avatar
-1 votes
1 answer
61 views

Regex: Add particular words from list to every 5 words - random

I have this words list: of, in the, that, as to, can, may, due to the fact that Also, I have this text/paragraph: The teaching methods represent the ways used in the school by the teacher to support ...
Hellena Crainicu's user avatar
3 votes
1 answer
1k views

Regex: Delete all lines before STRING, except one particular line

I want to delete all the lines before <!DOCTYPE html>, but I want to keep the line that starts with: $item_id = <?<!-- ÉTOILES R -->); $item_id = 1442 ; // Remplacez-le par ...
Hellena Crainicu's user avatar
0 votes
1 answer
84 views

Bring Window to Current Space in macOS

Background I've been using macOS's "Spaces" feature for years, and it's great. After trying a few different configurations, I use four Spaces: main work (e.g,. Xcode, Sketch), documents (...
Rogare's user avatar
  • 91
1 vote
1 answer
872 views

Regex: delete all html tags from html tags, except some other html tags

I need to delete all html tags, such as <p style="text-align: center;"> , but except </em> and </em> from the html tag <p class="glovo"></p> EXAMPLE: ...
Hellena Crainicu's user avatar
0 votes
2 answers
153 views

Find word that it is included in the tags, and if yes, delete that tag (with regex)

I have 2 html tags. But only the first tag has these 2 words: elementor and widget. So I want to find all html tags that has those 2 words, and if finds, delete the entire tag. <p class="jopp&...
Hellena Crainicu's user avatar
0 votes
2 answers
4k views

Regex: Delete everything (all the text) before a particular word, but not after it

Chances are your color consultant has worked with hundreds of different clients over the years. WORD_1 They Have the Knowledge and Expertise I need to delete all text before WORD_1 but not after it. ...
Hellena Crainicu's user avatar
0 votes
1 answer
751 views

Regex: Find al words between <em> and </em> html tags, that have no space before `<em>` and after `</em>`

See this sentence below: A space of creation conceived as a <em>full</em>attributed to myself. You see that is no space before and after </em> So, I need to find al words between ...
Just Me's user avatar
  • 816
1 vote
0 answers
198 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 ...
user1704131's user avatar
0 votes
1 answer
303 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 ...
Just Me's user avatar
  • 816
0 votes
1 answer
45 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 ...
Patryk Pabo's user avatar
0 votes
1 answer
122 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 ...
Just Me's user avatar
  • 816
0 votes
1 answer
2k 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 ...
Hellena Crainicu's user avatar
0 votes
1 answer
53 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 ...
Ghoul Fool's user avatar
-1 votes
2 answers
314 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 ...
Just Me's user avatar
  • 816
0 votes
2 answers
304 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 ...
Just Me's user avatar
  • 816
1 vote
1 answer
538 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
169 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
959 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 ...
Just Me's user avatar
  • 816
-1 votes
3 answers
1k 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 ...
Just Me's user avatar
  • 816
-1 votes
3 answers
3k 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 ...
Just Me's user avatar
  • 816
-3 votes
2 answers
543 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="...
Just Me's user avatar
  • 816
-1 votes
2 answers
38 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 ...
Just Me's user avatar
  • 816
1 vote
2 answers
542 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-...
Just Me's user avatar
  • 816
-1 votes
1 answer
4k 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 ...
Just Me's user avatar
  • 816
0 votes
3 answers
403 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 ...
Just Me's user avatar
  • 816
1 vote
2 answers
3k 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 ...
Just Me's user avatar
  • 816
0 votes
2 answers
392 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 ...
Just Me's user avatar
  • 816
0 votes
2 answers
323 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&...
Just Me's user avatar
  • 816
0 votes
2 answers
4k 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 ...
Just Me's user avatar
  • 816
0 votes
1 answer
296 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 ...
Just Me's user avatar
  • 816
0 votes
2 answers
711 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]*)(?...
user677589's user avatar
0 votes
1 answer
165 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 ...
user677589's user avatar
1 vote
2 answers
124 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, ...
Just Me's user avatar
  • 816
1 vote
1 answer
131 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:...
user677589's user avatar
1 vote
1 answer
455 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
2k 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 ...
Just Me's user avatar
  • 816

1
2 3 4 5
11