Forum Replies Created

  • Jonatan Magrao

    January 12, 2021 at 7:06 pm in reply to: Eliminate line breaks with regex!

    Hey, really thank you Andrei! It’s a way simple, and i thing i can understand yours hehe the main problem is that select only one word and the same problem as the Fabrice: it select all the words if alone! I think it’s simple to change for you guys who understand that. Also, i would like to increment it, if it’s possible. Using the old and ugly code of mine (sorry bout it), and following a pal in facebook group (that i think you’re in too), trying to avoid errors in writing the selected word or sentence to highlight, maybe surround the word or sentence with a special character, like in the image could help. It works better, i think and avoid re-write the thing and errors.

    Following the image, there are 2 layers: one with the original text and the second as a “container” that will show us the final result.
    The first break the text in 3 parts, wich the second one is inside the special character (in this case, “//”).

    Now, it works with one single word and a full sentence, but not with a multiline sentence and it give an error (i didn’t tested in premiere pro yet). It must have a better way to make this work. Also, if could make the sourceText.split code better, it would be awesome too!!

  • Jonatan Magrao

    January 12, 2021 at 5:26 pm in reply to: Eliminate line breaks with regex!

    Thank you Fabrice, it worked perfectly, the only problem is that it select the same word everytime, so if i want to select only one word, i don’t know how to proceed. Also, i have another question: what if i want select only the second “erat”, and not the first or the third?

    Sorry to boring, my regex is the worse ^^’

  • Jonatan Magrao

    January 10, 2021 at 8:36 pm in reply to: Eliminate line breaks with regex!

    Hello Fabrice!

    Unfortunatelly i wasn’t able to set your expression (i’m not a developer, so some things are still hard to me)! I figured out, with some help, a solution, but it’s not perfect, because now, if i choose a word in the begining of the line, it count another character that isn’t selected, but it works better than my own version solo ^^ And i learned how to use substr() method i didn’t knew, and for sure i’ll use it in other projects =D

    I’ll send a image with the full expression, and a link for the mogrt shared (to use in premiere pro). If you or other find a way to fix this little issue, i would be very greatefull.

    https://assets.adobe.com/public/89946495-b6b6-4ae4-6bb5-de52e4ed60b9?fbclid=IwAR33gQdcPR2OyKCCY2Qtr7hB0yWMg-LY933u0AJrYFF7ZlF65gMXQWTt_1M

    Nenhuma descrição de foto disponível.

  • Oh, I see. I must try combine some layers with differents source texts instead. Thanks Dan ^^

  • Someone, please? It would be great to receive some advice.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy