Hi,
I need to create a regex to extract 4 paragraphs of a text:
Topic –
abc
abcd
abcde
abcdef
abcdefg
I need to extract 4 paragraphs (text inside including some html
code) of this text using a regex.
How can I solve this problem ? I've tried a lot but I cant do this.
Thanks in advance.
page.body.scan(/\<\/tr\>\n\<\/form\>\n\\n(.*)\<\/tr\>/mi) gets
half the results
page.body.scan(/\<\/tr\>\n\\n(.*)\<\/tr\>/mi) gets the other half
I need help writing the reg ex that gets all the results.
Thanks in advance.
--~--~-~--~~~---~--~~
You received this m
Hi here is the array I am scanning:
["\n The Academic Writer: A Brief Guide\n\n\n Ede, Lisa\n\n\n\n Valley
Reserves -- VR 282 -- AVAILABLE\n\n\n\n \n\n\n\n\n Cultural literacy : what every
American needs to know / E.D. Hirsch, Jr. ; with an appendix, What li\n\n\n Hirsch, E. D. (Eric Donald), 192
Here is the array I am scanning:
["\n The Academic Writer: A Brief Guide\n\n\n Ede, Lisa\n\n\n\n Valley
Reserves -- VR 282 -- AVAILABLE\n\n\n\n \n\n\n\n\n Cultural literacy : what every
American needs to know / E.D. Hirsch, Jr. ; with an appendix, What li\n\n\n Hirsch, E. D. (Eric Donald), 1928-\
4 matches
Mail list logo