Skip to main content
Solved

What are the uses of Regex other than bulk renaming? Where can I find more info about other uses of regex?

  • February 15, 2021
  • 6 replies
  • 1090 views

Sujata_Srikanteswaran

What are the uses of Regex other than bulk renaming? Where can I find more info about other uses of regex?

Best answer by Gleb

Or do you mean applications of regex in general? Usually it’s used for complex pattern matching where simple search won’t help. For example, validating that a URL is a valid Figma URL. I wrote an article about this:

Medium – 1 Apr 19
View original

6 replies

Gleb
  • Power Member
  • 4708 replies
  • February 16, 2021

The most common case is replacing or moving a word or multiple words, or all characters after a particular character. But regex allows you to define any search patterns you want so the possibilities are pretty much endless.


Gleb
  • Power Member
  • 4708 replies
  • Answer
  • February 16, 2021

Or do you mean applications of regex in general? Usually it’s used for complex pattern matching where simple search won’t help. For example, validating that a URL is a valid Figma URL. I wrote an article about this:

Medium – 1 Apr 19

Sujata_Srikanteswaran

Thank you Gleb for this reference and response. Appreciate it. I was looking for some possibilities as a designer, I guess this needs some programming basics, I will get it eventually, I hope.


Vitaliy1
  • New Participant
  • 11 replies
  • April 17, 2021

Hey there
do we have any ability to change uppercase letters to lowercase by expressions?
already have spent more than 5h to figure out how it can work but have no result :((((

could you possibly share an example of match and replace strings?

thank you a lot in advance


Gleb
  • Power Member
  • 4708 replies
  • April 18, 2021

As far as I know there is no way to do it via the default rename feature. Try some plugins, for example RenameIt, maybe it’s possible with them.


Vitaliy1
  • New Participant
  • 11 replies
  • April 22, 2021

sorry to hear that, cuz rename_it plugin works with lugs sometime
but thank you for your answer


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings