I am trying to make regex for this string :
This is some string <select> this is another string <select var1> another string which can contain special characters <select var2> another variable string <select var1,var2>
I need to select all the strings not in select tag.
Select all string not within <select> tag
Can anyone help ? using PHP preg_match