Regular Expressions 101

OpenSubtitles api finds year

Open Workspace
  • PCRE2 (PHP)
  • Match
0

Regular Expression

/
\"year\"\:(\d{4})\,
/

Description

this regex finds the first year in the json file returned by opensubtitles api

Submitted by Andrea Canton