-
-
Save anonymous/c76aaa76de29157a77c009bbbc475b06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
str = '<img src="/fileadmin/MasterMSI/pict1.jpg" alt="lol" src="/fileadmin/MasterMSI/pict2.jpg"/>' | |
t = str.scan /fileadmin\/MasterMSI\/.*jpg/ | |
puts t | |
# print => fileadmin/MasterMSI/pict1.jpg" alt="lol" src="/fileadmin/MasterMSI/pict2.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment