http://www.perlmonks.org?node_id=1013992


in reply to Regex to match non image urls

Which matches anything except string ending in jpg within the tags, but when I try to add the "or" bits it goes horribly wrong. Please help, thanks

Sorry, no it doesn't , it forbids a single character, one of g or j or p

Read perlintro, perlrequick, perlfaq6, Parse::BBCode