Answer the question
In order to leave comments, you need to log in
What is the correct way to replace rgba in rgb with regex?
Greetings, there is a need to replace a lot of occurrences of the type rgba(168, 210, 100, 1) in a text document with rgb(168, 210, 100) . The values are always different, the opacity is not necessarily 1 - in short, you need to cut off the letter a and the last semicolon before it.
I think it should be easy with notepad++, but I rarely come across regular expressions, so it's even stuck ...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question