grep -o 'FLAG{[^}]*}' filename
using regular expressions for search for flag in page source (ctrl+U)