Would like some support here with a Regex.
Regular expression:
(\scaptain\s.*b([1-9]|[12][0-9]|3[01])\s[0-4][0-9][0-9]\s.*morgan\s)
Test string:
bla bla bla captain bla bla 1 250 2 450 9 501 11 900 21 900 30 400 31 1023 morgan bla bla bla
Question: Match a 3 digit number below 500 after the word "captain"and until the word "morgan" appears. Goal: Match the 3 digit number below 500 All support much appreciated!