Matching remainder of string in perl regex

How do I match something that "Known part (unknown word) (the rest of the line)" in the perl regular expression (PCRE)?

+4
source share
1 answer

Something like this should do:

/^KNOWN PART (\w+) (.*)$/ 
+13
source

All Articles