Skip to content

Instantly share code, notes, and snippets.

@sandeep1995
Last active January 26, 2023 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandeep1995/ab2c0fc44191a750af9c01e35eb47bb6 to your computer and use it in GitHub Desktop.
Save sandeep1995/ab2c0fc44191a750af9c01e35eb47bb6 to your computer and use it in GitHub Desktop.
Code stuck here!!!
const text = '"Before we jump into the content itself, I wanted to set a few expectations that will be really important for us to carry as we embark on this journey," James said. "And the first is that finding consensus on a preferred scenario for the future of the airport will take time because — as we’ve seen in our own advanced planning efforts over the past several years, as well as in other communities that have wrestled with airport conversions, or military base conversions, or the reuse of large public parcels — the planning process can last from a few years, if you’re lucky, up to 25 years and implementation can, and will, span decades."';
text.match(/^(\s*)(\S+(?:[ \t\v]*\S+)*)(\s*)$/);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment