Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
course content

Зміст курсу

Regex Wizards

Group function 2/2Group function 2/2

Завдання

  1. Import re.
  2. Define a text variable as "123-456-7890".
  3. Search for the first vowel value in the string using the following grammar: ^\d{3}-\d{3}-\d{4}$.
  4. Print the output using the group() function.

Mark tasks as Completed

Все було зрозуміло?

Секція 1. Розділ 6
AVAILABLE TO ULTIMATE ONLY
course content

Зміст курсу

Regex Wizards

Group function 2/2Group function 2/2

Завдання

  1. Import re.
  2. Define a text variable as "123-456-7890".
  3. Search for the first vowel value in the string using the following grammar: ^\d{3}-\d{3}-\d{4}$.
  4. Print the output using the group() function.

Mark tasks as Completed

Все було зрозуміло?

Секція 1. Розділ 6
AVAILABLE TO ULTIMATE ONLY
some-alt