I\'m reallllly new to regex and I need some help. I tried figuring out myself but had no luck!
I am trying to select text between 2 strings (character for the last strin
This should work if you get the first group:
\w+\s*(.+)\s*:
another alternative is to use this pattern
(?<=word\s).*(?=\s:)
See Lookahead and Lookbehind Zero-Width Assertions
/word (.*?) \:/ this should do the trick
/word (.*?) \:/