Jump to content

[SOLVED] All except some string


Mastodont

Recommended Posts

I cannot find solution for this regexp Perl pattern:

 

find string "ABC", followed with any character sequence except string "XYZ", and in the end would be "CAB".

 

"ABC whatZYXever CAB" should be matched

"ABC whatXYZever CAB" should be skipped

 

Thanks for advice.

Link to comment
https://forums.phpfreaks.com/topic/79137-solved-all-except-some-string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.