in reply to Re: regex problem
in thread regex problem
I was just wondering how to parse out the jpgs links from reddit wallpaper page following a commandline fu bash script,just for fun. The main problem is how to reject a match which matches beginning and end but by using .+? matches falsely in the middle.I know you can reject matching letters with [^ahi] type expression.But I dont know how to reject a string in the middle of a large amount of data. The following shows the problem match.
Rejecting the png but matching random file names in a mess of data is what Im struggling to do. Thanks for any help.This is just for fun so no sweat.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: regex problem solved
by grasshopper!!! (Beadle) on Nov 05, 2015 at 00:18 UTC | |
by AnomalousMonk (Archbishop) on Nov 05, 2015 at 00:48 UTC |