DEV Community

parrotypoisson
parrotypoisson

Posted on

Regex Of The Week #1

(?<=([^=]))=[^=]+$

This regex is for selecting/removing build numbers from conda packages in conda environment files.

Text:   python=3.8.12=hb1234_2_cpython
Match:               ^^^^^^^^^^^^^^^^^
Enter fullscreen mode Exit fullscreen mode

Top comments (0)