Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement