userdefinable has asked for the wisdom of the Perl Monks concerning the following question:
where "anything" is a string ending in one of the following: .jpg .jpeg .png .gif .bmp I have this:[img]anything[/img]
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\[img\].*[^jpg]\[\/img\]
|
|---|