I have the string <option value=/digital/collections/newsouth62.html>1862</option>
and I want to fetch only the 1862 from the above string using a regular expression.
-
1Please read this: tinyurl.com/so-hintsOded– Oded2011-05-23 12:47:03 +00:00Commented May 23, 2011 at 12:47
-
You can google for things like this.Mark Wilkins– Mark Wilkins2011-05-23 12:47:40 +00:00Commented May 23, 2011 at 12:47
-
1This is trivial to answer, but honestly it seems like you have put zero effort into trying AFAICT. Could you make a few attempts and post what you did?Mike Pennington– Mike Pennington2011-05-23 12:54:05 +00:00Commented May 23, 2011 at 12:54
-
@Oded, thanks for that link, first time I saw it!stema– stema2011-05-23 12:55:12 +00:00Commented May 23, 2011 at 12:55
Add a comment
|