Kenny
Member
I have a text like this below:
0209.jpeg (https://dl.airtable.com/.attachment...9d1d4/WhatsAppImage2022-05-21at6.46.34PM.jpeg)
And i want to extract using below regex:
https:\/\/([\w_-]+(??:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])
What is got from the result is like this below:
["https:\/\/dl.airtable.com\/.attachments\/c0fa86539533bd72c33d1d1a4d07b8fc\/fc660906\/0209_result.jpg","dl.airtable.com","\/.attachments\/c0fa86539533bd72c33d1d1a4d07b8fc\/fc660906\/0209_result.jpg"]
From REGEX 101, i got the result i want:
0209.jpeg (https://dl.airtable.com/.attachment...9d1d4/WhatsAppImage2022-05-21at6.46.34PM.jpeg)
And i want to extract using below regex:
https:\/\/([\w_-]+(??:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])
What is got from the result is like this below:
["https:\/\/dl.airtable.com\/.attachments\/c0fa86539533bd72c33d1d1a4d07b8fc\/fc660906\/0209_result.jpg","dl.airtable.com","\/.attachments\/c0fa86539533bd72c33d1d1a4d07b8fc\/fc660906\/0209_result.jpg"]
From REGEX 101, i got the result i want: