[Solved] Facebook profile page regex excluding dialog|plugins|like pages [closed]

Try this: it matches anything before and after “facebook.com” followed optional by “https://stackoverflow.com/” and not followed by “plugin”, “dialog”, “like” (.*)facebook\.com\/?(?!plugins)(?!dialog)(?!like)(.*) See this online example code (?!text) is positive lookahead regexp. You can read more about this here. 1 solved Facebook profile page regex excluding dialog|plugins|like pages [closed]