The thing is I have a string like this:
iata_code@name@city@gmt_offset@country_id@iso_code@latitude@longitude@air_os@air_lx@air_lh@air_sn@air_nz@air_su@air_s7@air_a3
The marked symbols are need to be selected with regexp. It would be great if someone smart will be so kind to help me :)
I was able to write only:
/(@air_)\w+/g
Thanks in advance!
This lookbehind regex should work:
(?<=air_).{2}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With