Muchas Gracias
-
-
FYI, you don’t have to create a whole new topic to reply; you can just click the “Reply” button:
-
Hola, para colocar " al inicio del renglón.?
Para colocar ; al final del renglón.?
Saludos -
@Norberto said in Muchas Gracias:
Hola, para colocar " al inicio del renglón.?
Para colocar ; al final del renglón.?
->
Hello, to place"
at the beginning of the line.?
To place;
at the end of the line.?- To place a quote mark
"
at the beginning of every line, you could use- FIND =
^
- REPLACE =
"
- Search Mode = Regular Expression
- FIND =
- To place a semicolon
;
at the end of every line,- FIND =
$
- REPLACE =
;
- Search Mode = Regular Expression
- FIND =
If you have some condition other than “every line”, then the FIND will have to be modified.
----
Please note: This Community Forum is not a data transformation service; you should not expect to be able to always say “I have data like X and want it to look like Y” and have us do all the work for you. If you are new to the Forum, and new to regular expressions, we will often give help on the first one or two data-transformation questions, especially if they are well-asked and you show a willingness to learn; and we will point you to the documentation where you can learn how to do the data transformations for yourself in the future. But if you repeatedly ask us to do your work for you, you will find that the patience of usually-helpful Community members wears thin. The best way to learn regular expressions is by experimenting with them yourself, and getting a feel for how they work; having us spoon-feed you the answers without you putting in the effort doesn’t help you in the long term and is uninteresting and annoying for us.
----
Do you want regex search/replace help? Then please be patient and polite, show some effort, and be willing to learn; answer questions and requests for clarification that are made of you. All example text should be marked as literal text using the
</>
toolbar button or manual Markdown syntax. To makeregex in red
(and so they keep their special characters like *), use backticks, like`^.*?blah.*?\z`
. Screenshots can be pasted from the clipboard to your post usingCtrl+V
to show graphical items, but any text should be included as literal text in your post so we can easily copy/paste your data. Show the data you have and the text you want to get from that data; include examples of things that should match and be transformed, and things that don’t match and should be left alone; show edge cases and make sure you examples are as varied as your real data. Show the regex you already tried, and why you thought it should work; tell us what’s wrong with what you do get. Read the official NPP Searching / Regex docs and the forum’s Regular Expression FAQ. If you follow these guidelines, you’re much more likely to get helpful replies that solve your problem in the shortest number of tries. - To place a quote mark
-
Also, I guess I should have been more explicit: if you want to reply to a previous question, like saying “Muchas Gracias” for the answers already given, you should just REPLY to the previous post. If you have a new question (like you asked this time), you should really start a new topic, and give it a meaningful name (“Muchas Gracias” doesn’t help us understand what kind of question you are asking).
Further, no one has mentioned this to you yet, but this Notepad++ Community forum defaults to English, and in general, it is expected that you ask questions in English; if English is not your native language, then you are strongly encouraged to plug your question into an external translator (translate.google.com or deepl,com, for example) and paste the results of the translation into your question.
-
@PeterJones Disculpe, no hablo nada en Inglés y me cuesta entender el foro.
-
@Norberto said in Muchas Gracias:
I do not speak English at all and it is difficult for me to understand the forum.
As I said, if English is difficult for you (not your native language), then feel free to use a translation service.
If I paste my reply into translate.google.com, it will show: “Como dije, si el inglés es difícil para usted (no su idioma nativo), no dude en utilizar un servicio de traducción.”
If I paste the same reply into deepl.com: “Como he dicho, si el inglés le resulta difícil (no es su lengua materna), no dude en utilizar un servicio de traducción.”
You can do something similar: write your text in Spanish, then plug it into the translator, then paste the results in your post as well. Since you are the one who wants help, it is up to you to be kind to the people who you are asking for help and translating your question into their language. (= Puedes hacer algo parecido: escribir tu texto en español, luego meterlo en el traductor, y luego pegar los resultados en tu post también. Ya que tú eres el que quiere ayuda, depende de tú ser amable con las personas a las que pides ayuda y traducir tu pregunta a su idioma.)
If you aren’t willing to go to the effort to communicate in the default language of the forum (English), then people here are less likely to go to the effort of trying to answer your question at all. You will notice that someone has answered all your questions so far, despite the fact that you have not shown us that courtesy; but if you continue to ask questions without giving us the English version of the question, then it is less likely that you will get an answer. Sorry. (= Si no estás dispuesto a hacer el esfuerzo de comunicarte en el idioma por defecto del foro (inglés), entonces es menos probable que la gente de aquí haga el esfuerzo de intentar responder a tu pregunta. Notarás que alguien ha respondido a todas tus preguntas hasta ahora, a pesar de que no nos has mostrado esa cortesía; pero si continúas haciendo preguntas sin darnos la versión en inglés de la pregunta, entonces es menos probable que obtengas una respuesta. Lo siento.)