Note: has to be done in powershell.
I have searched and searched and have this one little problem that I can not seem to solve.
The page is in an unusual form of xml, and looks like this
<?xml version="1.0" encoding="utf-8" ?>
<string xmlns="http://foo.bar.moo.org/">WILBER</string>
This is the only thing on the page. the only part that will ever change is WILBER might be something else.
I have tried:
$site="http://lalaland.org/Getmoocow?input=$foo_name"
$data = (new-object System.Net.WebClient).DownloadString($site)
$foo = [regex]::Matches($data, '<string.*?>(.+)</string>') | % {$_.Captures[0].Groups[1].value}
and a few varients but no luck. the only thing I need is is what is located between the string tags
So, given the string that you presented,