Hi guys,
I need to use regular expressions in linux and I'm not quite experience in that field, maybe someone could give me some help with it.
Basically, I need to take a text like this.
A234321=http://www.google..... a normal URL
But, I need to take the string starting at
http://....................... and avoid the first part.
I think I could use expr to do it, but I cannot find a way to print a good result.
The entire regex I can use is http:
[a-zA-Z0-9/_]+
Thanks,
Marco,
---------- Post updated 08-30-11 at 10:54 AM ---------- Previous update was 08-29-11 at 04:52 PM ----------
This is how it should be sent.
expr ${var1} : '[^=]*=\(.*\)' , where var is my url !
it works perfectly.