Extract string from HTML tags using RegExp (Ruby)
I would like to extract "toast" from a string
<h1>test</h1><div>toast</div>. What regular expression could isolate such
a string?
Edit: Thanks to the user who who corrected the formatting.
Thanks!
No comments:
Post a Comment