I have issues with the following text and Regex method. I retrieve the text from my server (from a Wordpress Database) and I want to extract the image src from it with Regex.
The string from the server looks like that:
...
[other_directives ...]
[et_pb_image admin_label="Bild"
src="http://url.com/wp-content/uploads/2015/08/imageXYZ.jpg"
show_in_lightbox="off" url_new_window="off" animation="left" sticky="off" align="left"
force_fullwidth="off" always_center_on_mobile="on" use_border_color="off"
border_color="#ffffff" border_style="solid" alt="some text"]
[other_directives ...]
...
I want to search for the et_pb_image string and want to extract the text between the apostrophes of the src text in it.
Is this possible with pure Regex?
EDIT
What I tried till now (I'm a Regex beginner):
/(et_pb_image)?(src=").+[a-z]/
This returns the src but with the src="..." tag.
