Answers for "ruby regex extract substring between two characters"

1

ruby get substring between two characters

str1_markerstring = "START"
str2_markerstring = "END"

substring = input_string[/#{str1_markerstring}(.*?)#{str2_markerstring}/m, 1]
Posted by: Guest on June-10-2020

Code answers related to "ruby regex extract substring between two characters"

Browse Popular Code Answers by Language